fitted.ICCier: Extract ICC values.

Description Usage Arguments Value

View source: R/predict.R

Description

Extract ICC values.

Usage

1
2
3
## S3 method for class 'ICCier'
fitted(object, summary = TRUE, prob = 0.95,
  inc_group = TRUE, occasion = NULL)

Arguments

object

ICCier object

summary

Logical. Whether to return summary (mean, intervals) of ICCs (TRUE), or posterior samples (FALSE)

prob

A number p (0 < p < 1) indicating the desired probability mass to include in the intervals.

inc_group

Logical. Whether to include the grouping variable with the estimates.

occasion

Default: NULL. Vector representing the occasion number. One value per row in newdata. For estimating composite score reliability. If unspecified, set to NULL (default), and raw score ICCs are estimated.

...

Not currently used.

Value

If summary=TRUE, then the mean and prob% intervals are returned for each observation in the model frame. If summary=FALSE, an S by N matrix containing the S posterior samples for N observations.


stephensrmmartin/ICCier documentation built on Aug. 22, 2019, 10 a.m.