checkStatisticalModel {midasHLA} | R 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.

[Package midasHLA version 1.2.0 Index]