numberFactors {NewWave} | R Documentation |
Given an object that describes a dataset or a model involving latent factors, this function returns the number of latent factors.
numberFactors(x)
x |
an object that describes a dataset or a model involving latent factors |
the number of latent factors
a <- newmodel(n=5, J=10) numberFactors(a)