nFactors: Generic function that returns the number of latent factors

nFactorsR 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

nFactors(x)

Arguments

x

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

Value

the number of latent factors

Examples

a <- zinbModel()
nFactors(a)

drisso/zinbwave documentation built on March 18, 2024, 5:13 p.m.