Learn R Programming

brms (version 2.16.1)

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, ...)

Arguments

object

An R object.

...

Currently ignored.

Value

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