CheckFormulaLevels: Check formula for singular values

Description Usage Arguments Details Value

View source: R/CheckFormulaLevels.R

Description

CheckFormulaLevels is an internal function that tests that all variables in formula have more than one value.

Usage

1

Arguments

formula

Formula to be used in model.

dt

data.table with model data.

Details

This function checks all variables in formula for singular values, which usually cause errors when modeling, and drops singular variables.

Value

formula with singular values dropped.


okg3/MultiDataAnalysis documentation built on March 28, 2020, 12:20 p.m.