access_dims: Generic method for accessing model fit dimensions

ncategories.pibblefitR Documentation

Generic method for accessing model fit dimensions

Description

Generic method for accessing model fit dimensions

Usage

## S3 method for class 'pibblefit'
ncategories(m)

## S3 method for class 'pibblefit'
nsamples(m)

## S3 method for class 'pibblefit'
ncovariates(m)

## S3 method for class 'pibblefit'
niter(m)

## S3 method for class 'orthusfit'
ncategories(m)

## S3 method for class 'orthusfit'
nsamples(m)

## S3 method for class 'orthusfit'
ncovariates(m)

## S3 method for class 'orthusfit'
niter(m)

ncategories(m)

nsamples(m)

ncovariates(m)

niter(m)

Arguments

m

An object of class pibblefit

Details

An alternative approach to accessing these dimensions is to access them directly from the pibblefit object using list indexing. * ncategories is equivalent to m$D * nsamples is equivalent to m$N * ncovariates is equivalent to m$Q

Value

integer


fido documentation built on June 22, 2024, 9:36 a.m.