Learn R Programming

brms (version 2.19.0)

ngrps.brmsfit: Number of Grouping Factor Levels

Description

Extract the number of levels of one or more grouping factors.

Usage

# S3 method for brmsfit
ngrps(object, ...)

ngrps(object, ...)

Value

A named list containing the number of levels per grouping factor.

Arguments

object

An R object.

...

Currently ignored.