Learn R Programming

MECfda (version 0.2.0)

dim,functional_variable-method: Extract dimensionality of functional data.

Description

Extract the dimensionality of slot X of functional_variable object.

Usage

# S4 method for functional_variable
dim(x)

Value

Retruns a 2-element numeric vector.

Arguments

x

a functional_variable object.

Author

Heyang Ji

Examples

Run this code
fv = functional_variable(X=array(rnorm(12),dim = 4:3),period = 3)
dim(fv)

Run the code above in your browser using DataLab