numberFeatures: Generic function that returns the number of features

numberFeaturesR Documentation

Generic function that returns the number of features

Description

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

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

Usage

numberFeatures(x)

numberFeatures(x)

Arguments

x

an object that describes a dataset or a model.

Value

the number of features

the number of features.

Examples

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

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