summary.mid {midr}R Documentation

Summarize MID Models

Description

For "mid" objects, summary() prints information about the fitted MID model.

Usage

## S3 method for class 'mid'
summary(object, digits = max(3L, getOption("digits") - 2L), top.n = 10L, ...)

Arguments

object

a "mid" object to be summarized.

digits

an integer specifying the number of significant digits.

top.n

an integer specifying the maximum number of terms to be printed with the MID importance values.

...

not used.

Details

The S3 method of summary() for "mid" objects prints basic information about the MID model including the uninterpreted variation ratio, residuals, encoding schemes, and MID importance.

Value

summary.mid() returns the "mid" object passed to the function without any modification.

Examples

data(cars, package = "datasets")
summary(interpret(dist ~ speed, cars))

[Package midr version 0.5.0 Index]