work.corr: Working Correlation Matrix for Fitted repolr Model

Description Usage Arguments Value Examples

View source: R/work.corr.R

Description

The working correlation matrix for the selected model; “ar1”, “uniform” or “independence”.

Usage

1
work.corr(object, digits = 3)

Arguments

object

is a model fitted using repolr.

digits

integer for number formatting.

Value

A T(K-1) correlation matrix.

Examples

1
2
3
4
data(HHSpain)
mod.0 <- repolr(HHSpain~Sex*Time, data=HHSpain, categories=4, subjects="Patient",
            times=c(1,2,5), corr.mod="uniform", alpha=0.5)
work.corr(mod.0)

repolr documentation built on May 1, 2019, 9:20 p.m.