adjust_trajectories {rbmi} | R Documentation |
Adjust trajectories due to the intercurrent event (ICE)
Description
Adjust trajectories due to the intercurrent event (ICE)
Usage
adjust_trajectories(
distr_pars_group,
outcome,
ids,
ind_ice,
strategy_fun,
distr_pars_ref = NULL
)
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:
|
outcome |
Numeric variable that specifies the longitudinal outcome. |
ids |
Factor variable that specifies the id of each subject. |
ind_ice |
A binary variable that takes value |
strategy_fun |
Function implementing trajectories after the intercurrent event (ICE). Must
be one of |
distr_pars_ref |
Optional. Named list containing the simulation parameters of the reference arm. It contains the following elements:
|
Value
A numeric vector containing the adjusted trajectories.