% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/datagen-interface.R
\name{covar_continuous}
\alias{covar_continuous}
\title{Continuous covariate definition}
\usage{
covar_continuous(name, dist = "normal", ...)
}
\arguments{
\item{name}{Column name in the generated data.}

\item{dist}{Distribution name. One of \code{"normal"} (default),
\code{"lognormal"}, \code{"gamma"}, \code{"weibull"}, \code{"uniform"},
\code{"beta"}, \code{"t"}.}

\item{...}{Named distribution parameters passed as the \code{params} list
(e.g., \code{mean = 0, sd = 1} for \code{dist = "normal"}).}
}
\value{
A named list suitable as one element of the \code{covariates} argument.
}
\description{
Builds a covariate definition list for use in \code{\link{rmst.sim}},
\code{\link{recipe_quick_aft}}, or \code{\link{recipe_quick_ph}}.
}
\examples{
covar_continuous("age", dist = "normal", mean = 50, sd = 10)
covar_continuous("bmi", dist = "lognormal", meanlog = 3.2, sdlog = 0.2)

}
\seealso{
\code{\link{covar_binary}}, \code{\link{covar_categorical}},
\code{\link{rmst.sim}}
}
