functional_variable-class | R Documentation |
A s4 class that represents data of a function-valued variable.
The format is
f_i(t),\ t\in\Omega=[t_0,t_0 + T]
where i
is the observation (subject) index, t
represents the measurement (time) points.
X
a matrix (x_{ij})_{n\times m}
, where x_{ij} = f_i(t_j)
, represents the value of f_i(t_j)
, each row represent an observation (subject), each column is corresponding to a measurement (time) point.
t_0
start of the domain (time period), t_0
. Default is 0.
period
length of the domain (time period), T
. Default is 1.
t_points
sequence of the measurement points, (t_1,\dots,t_m)
. Default is t_k = t_0 + \frac{(2k-1)T}{2(m+1)}
.
Heyang Ji
X = array(rnorm(12),dim = 4:3)
functional_variable(X=X,period = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.