% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{step_interp}
\alias{step_interp}
\title{Interpolate a Step Function onto a Time Grid}
\usage{
step_interp(times, values, grid, init = 0)
}
\arguments{
\item{times}{Numeric. Jump times where the function changes.}

\item{values}{Numeric. Function values; \code{values[k]} is the
value on \code{[times[k], times[k+1])}.}

\item{grid}{Numeric. Output grid.}

\item{init}{Numeric scalar. Value to return for grid points before
\code{times[1]}. Default 0.}
}
\value{
Numeric vector of values on \code{grid}.
}
\description{
Right-continuous step interpolation of a (time, value) sequence onto
a target grid. Used to align bootstrap replicates onto a common time
grid so they can be assembled into a matrix.
}
\keyword{internal}
