numberSamples {NewWave}R Documentation

Generic function that returns the number of samples

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

numberSamples(x)

numberSamples(x)

Arguments

x

an object that describes a dataset or a model.

Value

the number of samples

the number of samples.

Examples

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

[Package NewWave version 1.2.0 Index]