repolr (version 3.4)

work.corr: Working Correlation Matrix for Fitted repolr Model

Description

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

Usage

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

Run this code
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)

Run the code above in your browser using DataLab