prep.data.for.superlearner: Prepare data function

Description Usage Arguments

View source: R/prep.data.for.superlearner.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
prep.data.for.superlearner(study_data, outcome = "s30d")

Arguments

study_data

The study data as a data frame. No default

outcome

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


itslwg/SupaLarna documentation built on Aug. 2, 2020, 1 a.m.