nObs | R Documentation |
This functions returns the number of observations in a funData
, irregFunData
or multiFunData
object.
nObs(object)
object |
An object of class |
The number of observations in object
.
funData
, irregFunData
, multiFunData
# Univariate
object <- funData(argvals = 1:5, X = rbind(1:5, 6:10))
nObs(object)
# Univariate (irregular)
irregObject <- irregFunData(argvals = list(1:5, 2:4), X = list(2:6, 3:5))
nObs(irregObject)
# Multivariate
multiObject <- multiFunData(object, funData(argvals = 1:3, X = rbind(3:5, 6:8)))
nObs(multiObject)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.