random_intercept_check: Function to check multilevel models on the existence of...

Description Usage Arguments Value

Description

Function to check multilevel models on the existence of random intercepts. The specification of an intercept by calling a 1-column (e.g. "int") is not counted towards the existence of an intercept. Contradictory inputs like "~ 1 + 0 + X1 + ..." or "~ -1 + 1 + X1 + ..." will throw an error.

Usage

1
random_intercept_check(model_formula)

Arguments

model_formula

A formula (from class formula)

Value

A boolean value indicating whether there is a fixed intercept in the model or not


hmi documentation built on Oct. 23, 2020, 7:31 p.m.