Learn R Programming

vcrpart (version 1.0-6)

olmm-summary: Printing and summarizing olmm objects

Description

Generates summary results of a fitted olmm object.

Usage

# S3 method for olmm
summary(object, etalab = c("int", "char", "eta"),
        silent = FALSE, ...)

# S3 method for olmm print(x, etalab = c("int", "char", "eta"), ...)

Value

The summary method returns a list of class

"summary.olmm".

Arguments

object, x

a fitted olmm object.

etalab

character. Whether category-specific effects should be labeled by integers of categories (default), the labels of the categories or the index of the predictor.

silent

logical: should a warning be reported if the computation of the covariance matrix for the estimated coefficients failed.

...

additional arguments passed to print.

Author

Reto Burgin

See Also

olmm, olmm-methods

Examples

Run this code
## ------------------------------------------------------------------- #
## Dummy example:
##
## Printing the summary of a model on artificially generated data.
## ------------------------------------------------------------------- #

data(vcrpart_1)

model <- olmm(y ~ wave + z4:treat + re(1|id), vcrpart_1, subset = 1:60)

print(model, digits = 2)

summary(model, digits = 2)

Run the code above in your browser using DataLab