nFeatures: Generic function that returns the number of features

nFeaturesR Documentation

Generic function that returns the number of features

Description

Given an object that describes a dataset or a model, it returns the number of features.

Usage

nFeatures(x)

Arguments

x

an object that describes a dataset or a model.

Value

the number of features.

Examples

a <- zinbModel()
nFeatures(a)

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