checkStatisticalModel: Assert statistical model

View source: R/asserts.R

checkStatisticalModelR Documentation

Assert statistical model

Description

checkStatisticalModel asserts if object is an existing fit from a model functions such as lm, glm and many others. Containing MiDAS object as its data atribute.

Usage

checkStatisticalModel(object)

Arguments

object

An existing fit from a model function such as lm, glm and many others.

Value

Logical indicating if object is an existing fit from a model functions such as lm, glm and many others. Containing MiDAS object as its data attribute. Otherwise raise an error.


Genentech/midasHLA documentation built on Feb. 12, 2024, 9:38 a.m.