list_covariances {slim}R Documentation

List Covariance Matrices for Every Subject

Description

This function is generic, and methods exists for character, list, function, and various model fit classes.

Usage

list_covariances(obj, t)

## S3 method for class 'character'
list_covariances(obj, t)

## S3 method for class 'list'
list_covariances(obj, t)

## S3 method for class 'function'
list_covariances(obj, t)

## S3 method for class 'jmcmMod'
list_covariances(obj, t)

## S3 method for class 'lmerMod'
list_covariances(obj, t)

Arguments

obj

an R object of class character, function, or a model fit

t

list of vectors of observation times, one for each subject

Value

a list containing covariance matrices of appropriate dimensions


[Package slim version 0.1.1 Index]