Learn R Programming

brms (version 2.9.0)

ngrps.brmsfit: Number of 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.