nSamples: Generic function that returns the number of samples

nSamplesR Documentation

Generic function that returns the number of samples

Description

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

Usage

nSamples(x)

Arguments

x

an object that describes a dataset or a model.

Value

the number of samples.

Examples

a <- zinbModel()
nSamples(a)

drisso/zinbwave documentation built on March 18, 2024, 5:13 p.m.