PrepDataForAnalysis: Prepare data function

Description Usage Arguments

View source: R/PrepareDataForAnalysis.R

Description

This function prepares and generates training and review sets by splitting the dataset in half according to a time variable . Factor variables are removed.

Usage

1
PrepDataForAnalysis(study_data, outcome = "composite")

Arguments

study_data

The study data as a data frame. No default

outcome

The outcome variable as a string. Default: "s30d".


citronmeliss/predictionpackr documentation built on Feb. 10, 2020, 12:19 a.m.