Adjust trajectory of a subject's outcome due to the intercurrent event (ICE)
Source:R/simulate_data.R
adjust_trajectories_single.Rd
Adjust trajectory of a subject's outcome due to the intercurrent event (ICE)
Arguments
- distr_pars_group
-
Named list containing the simulation parameters of the multivariate normal distribution assumed for the given treatment group. It contains the following elements:
mu
: Numeric vector indicating the mean outcome trajectory. It should include the outcome at baseline.sigma
Covariance matrix of the outcome trajectory.
- outcome
Numeric variable that specifies the longitudinal outcome.
- strategy_fun
Function implementing trajectories after the intercurrent event (ICE). Must be one of
getStrategies()
. SeegetStrategies()
for details.- distr_pars_ref
-
Optional. Named list containing the simulation parameters of the reference arm. It contains the following elements:
mu
: Numeric vector indicating the mean outcome trajectory assuming no ICEs. It should include the outcome at baseline.sigma
Covariance matrix of the outcome trajectory assuming no ICEs.