Learn R Programming

vcrpart (version 0.4-1)

olmm-summary: Printing and summarizing olmm objects

Description

Generates summary results of a fitted olmm object.

Usage

"summary"(object, etalab = c("int", "char", "eta"), silent = FALSE, ...)
"print"(x, etalab = c("int", "char", "eta"), ...)

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.

Value

The summary method returns a list of class "summary.olmm".

See Also

olmm, olmm-methods

Examples

Run this code
## ------------------------------------------------------------------- #
## Dummy example 1:
##
## 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