episode_prepare_data | R Documentation |
'episode_prepare_data' makes some checks in data, and apply selection rules by callng episode_select_participants
.
episode_prepare_data(
design,
intake = NULL,
weekly = NULL,
env = NULL,
keep.onset = FALSE
)
design |
episode design data structure (result of |
intake |
data.frame intake data |
weekly |
data.frame weekly data |
env |
environment with intake & weekly data (alternative to provide them directly in existing env) |
keep.onset |
keep onset column if already exists |
To compute episode in a simple setting link{episode_build}
would be more convinient to use (it will call this function)
The environment contains several data.frame()
one row for each participants and rule results (TRUE/FALSE) for each participants, column "keep" indicate final state of participant
count of selected participants at each step (after applying each rule)
the intakes for selected participants
the weekly for selected participants
environment environment containing selected data (weekly, intake, participants, selections)
Other episodes:
episode_build()
,
episode_compute()
,
episode_design()
,
episode_fusion.simple_strategy()
,
episode_fusion.worst_strategy()
,
episode_fusion_strategy()
,
episode_fusion()
,
episode_select_participants()
,
episode_strategy()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.