numberFactors: Generic function that returns the number of latent factors

numberFactorsR Documentation

Generic function that returns the number of latent factors

Description

Given an object that describes a dataset or a model involving latent factors, this function returns the number of latent factors.

Usage

numberFactors(x)

Arguments

x

an object that describes a dataset or a model involving latent factors

Value

the number of latent factors

Examples

a <- newmodel(n=5, J=10)
numberFactors(a)

fedeago/NewWave documentation built on March 28, 2022, 5:46 a.m.