% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/trajectories.R
\name{rho_step}
\alias{rho_step}
\title{Generate a single-breakpoint (step function) rho trajectory}
\usage{
rho_step(
  n_time,
  rho_before = 0.7,
  rho_after = 0.3,
  breakpoint = 0.5,
  transition_width = 0
)
}
\arguments{
\item{n_time}{Number of time points.}

\item{rho_before}{Rho before breakpoint (default: 0.7).}

\item{rho_after}{Rho after breakpoint (default: 0.3).}

\item{breakpoint}{Breakpoint location as a proportion of \code{n_time - 1} (if <= 1)
or an absolute time index (default: 0.5).}

\item{transition_width}{Number of time points for smooth transition.
0 = abrupt (default: 0).}
}
\value{
Numeric vector of length \code{n_time - 1}.
}
\description{
Abrupt change from one rho level to another at a specified time.
}
\examples{
rho_step(100, rho_before = 0.7, rho_after = 0.3)
}
