check_data: check_data Checks a data.frame for all the terms in a model

View source: R/check_data.R

check_dataR Documentation

check_data Checks a data.frame for all the terms in a model

Description

Prepares a report list str(data) that displays the number of levels of each factor including factor combinations

Usage

check_data(object, d = NULL)

Arguments

object

Either a formula, e.g. y~A+B+(1|C) or the output of a call to lm() or lmer()

d

If object is a formula, provide the data.frame. If object is the output of a model statement, leave NULL.

Value

nothing. Just prints the complete data structure.


deruncie/PLS205_package documentation built on March 25, 2022, 2:29 a.m.