check_constant_vars: Check if any variables in a model frame are constants (the...

Description Usage Arguments Value

View source: R/misc.R

Description

Check if any variables in a model frame are constants (the exception is that a constant variable of all 1's is allowed)

Usage

1

Arguments

mf

A model frame or model matrix

Value

If no constant variables are found mf is returned, otherwise an error is thrown.


rstap documentation built on May 1, 2019, 9:21 p.m.