numberFeatures: Generic function that returns the number of features

Description Usage Arguments Value Examples

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

1
2
3

Arguments

x

an object that describes a dataset or a model.

Value

the number of features

the number of features.

Examples

1
2
3
4
a <- newmodel(n=5, J=10)
numberFeatures(a)
a <- newmodel(n=5, J=10)
numberFeatures(a)

NewWave documentation built on Dec. 26, 2020, 6 p.m.