vcov.jglmm: Calculate variance-covariance matrix for a fitted model...

View source: R/extract.R

vcov.jglmmR Documentation

Calculate variance-covariance matrix for a fitted model object

Description

Extract the variance-covariance matrix of the main parameters from a 'jglmm' object.

Usage

## S3 method for class 'jglmm'
vcov(object, ...)

Arguments

object

An object of class 'jglmm', as returned by 'jglmm()'.

...

Optional additional arguments, currently none are used.

Value

A matrix of the estimated covariances between the parameter estimates in the linear or non-linear predictor of the model.

Examples

## Not run: 
jglmm_setup()
lm1 <- jglmm(Reaction ~ Days + (Days | Subject), lme4::sleepstudy)
vcov(lm1)

## End(Not run)

mikabr/jglmm documentation built on Nov. 18, 2022, 1:32 a.m.