sigma.jglmm: Extract residual standard deviation 'sigma'

View source: R/extract.R

sigma.jglmmR Documentation

Extract residual standard deviation 'sigma'

Description

Extract the estimated standard deviation of the errors, the "residual standard deviation" (also misnamed the "residual standard error"), from a 'jglmm' object.

Usage

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

Arguments

object

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

...

Optional additional arguments, currently none are used.

Value

Estimate of σ, the standard deviation of the per-observation noise.

Examples

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

## End(Not run)

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