View source: R/PrepareDataForAnalysis.R
This function prepares and generates training and review sets by splitting the dataset in half according to a time variable . Factor variables are removed.
1 | PrepDataForAnalysis(study_data, outcome = "composite")
|
study_data |
The study data as a data frame. No default |
outcome |
The outcome variable as a string. Default: "s30d". |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.