cleanDV.DEWSList: Clean up DV in a DEWSList for proper modeling

Description Usage Arguments Details Value Note

View source: R/dataTransform.R

Description

Clean up DV in a DEWSList for proper modeling

Usage

1
cleanDV.DEWSList(DEWSList, DV)

Arguments

DEWSList

a DEWSlist created by makeDEWSList

DV

a character representing the name of the dependent variable

Details

Reassigns the DEWSList[[i]]$class object to be a factor with the larger group, graduates, as the first level of a factor, and non-graduates as the second level

Value

a DEWSList

Note

Currently only works if DV == "ontime_grad"


jknowles/ModelEWS documentation built on May 19, 2019, 11:42 a.m.