nobs.jglmm: Extract the Number of Observations from a Fit

View source: R/fit_stats.R

nobs.jglmmR Documentation

Extract the Number of Observations from a Fit

Description

Extract the Number of Observations from a Fit

Usage

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

Arguments

object

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

...

Optional additional arguments, currently none are used.

Value

A numeric giving the number of observations.

Examples

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

## End(Not run)

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