Support dimension of functional data
This function returns the support dimension of an object of class
funData
, irregFunData
or multiFunData
.
dimSupp(object)
object |
An object of class |
If object
is univariate (i.e. of class funData
or irregFunData
), the
function returns the dimension of the support of object
. If
object
is multivariate (i.e. of class multiFunData
), the
function returns a vector, giving the support dimension of each element.
# Univariate (one-dimensional) object1 <- funData(argvals = 1:5, X = rbind(1:5, 6:10)) dimSupp(object1) # Univariate (two-dimensional) object2 <- funData(argvals = list(1:10, 1:5), X = array(rnorm(100), dim = c(2,10,5))) dimSupp(object2) # Univariate (irregular) irregObject <- irregFunData(argvals = list(1:5, 2:4), X = list(2:6, 3:5)) dimSupp(irregObject) # Multivariate multiObject <- multiFunData(object1, object2) dimSupp(multiObject)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.