numberFeatures {NewWave}R 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)

[Package NewWave version 1.3.0 Index]