Checks/normalizes the simulation recipe and fills reasonable defaults.
This function does not use or require an analysis horizon; specify L
later in downstream analysis functions.
Examples
r <- recipe_quick_aft(
n = 100,
model = "aft_lognormal",
baseline = list(mu = 2.2, sigma = 0.5),
treat_effect = -0.2,
covariates = list(list(name="x", type="continuous", dist="normal",
params=list(mean=0, sd=1))),
target_censoring = 0.25, allocation = "1:1"
)
r2 <- validate_recipe(r)