Adjust trajectories due to the intercurrent event (ICE)
adjust_trajectories(
distr_pars_group,
outcome,
ids,
ind_ice,
strategy_fun,
distr_pars_ref = NULL
)
A numeric vector containing the adjusted trajectories.
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.
Numeric variable that specifies the longitudinal outcome.
Factor variable that specifies the id of each subject.
A binary variable that takes value 1
if the corresponding outcome is affected
by the ICE and 0
otherwise.
Function implementing trajectories after the intercurrent event (ICE). Must
be one of getStrategies()
. See getStrategies()
for details.
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.
adjust_trajectories_single()
.