mvmfd | R Documentation |
The 'mvmfd' class represents functional data ...
Constructor for 'mvmfd' objects (same as 'Mvmfd')
Mvmfd(...)
... |
A 'mfd' objects which have separated by comma |
basis
A 'mvbasismfd' object
coefs
a matrix of the coefficients.
nobs
number of observation
nvar
number of variables
new()
Constructor for ‘mvmfd' objects (same as ’Mvmfd')
mvmfd$new(...)
...
A 'mfd' objects which have separated by comma
eval()
Eval method for 'mvmfd' objects
mvmfd$eval(evalarg)
evalarg
A list of numeric vectors of argument values at which the 'mvmfd' is to be evaluated.
A list of evaluated values
print()
Print method for 'mvmfd' objects
mvmfd$print(...)
...
Additional arguments to be passed to 'print'
clone()
The objects of this class are cloneable with this method.
mvmfd$clone(deep = FALSE)
deep
Whether to make a deep clone.
mvbasismfd
, mfd
require(fda)
bs1 <- create.fourier.basis(c(0, 2 * pi), 5)
bs2 <- create.bspline.basis(c(0, 1), 7)
bs3 <- create.exponential.basis(c(0, 2), 3)
nobs <- 10
argval1 <- seq(0, 2 * pi, length.out = 12)
X1 <- outer(sin(argval1), seq(0.5, 1.5, length.out = nobs))
mdbs1 <- Basismfd(bs1)
mfd1 <- Mfd(argval1, X1, mdbs1)
mdbs2 <- Basismfd(bs1)
argval2 <- argval1
X2 <- outer(cos(argval2), seq(0.2, 1.5, length.out = nobs))
mfd2 <- Mfd(argval2, X2, mdbs1)
mvmfd1 <- Mvmfd(mfd1, mfd2)
mvmfd1[1]
mvmfd1[1, 1]
mvmfd1[1:5, 2]
mvmfd1[, 1]
mvmfd1[1:5, ]
evalarg <- list(argval1, argval2)
mvmfd1$eval(evalarg)
mvmfd1 + mvmfd1
mean(mvmfd1)
inprod_mvmfd(mvmfd1, mvmfd1)
norm_mvmfd(mvmfd1)
plot(mvmfd1)
bimfdplot(mvmfd1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.