Skip to contents

Checks that model is of class lm or glm.

Usage

checkModel(model)

Arguments

model

An object to check.

Value

Invisible model if valid, otherwise an error is thrown.