numberSamples: Generic function that returns the number of samples

Description Usage Arguments Value Examples

Description

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

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

Usage

1
2
3

Arguments

x

an object that describes a dataset or a model.

Value

the number of samples

the number of samples.

Examples

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

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