numberSamples: Generic function that returns the number of samples

numberSamplesR 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)

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