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".


janejkanske/SupaLarna documentation built on July 29, 2020, 1:55 p.m.