as.multiFunData | R Documentation |
Coerce a funData
object to class multiFunData
with one element.
as.multiFunData(object)
## S4 method for signature 'funData'
as.multiFunData(object)
object |
The |
funData
, multiFunData
# create funData object with 5 observations
x <- seq(0,1,0.01)
f1 <- funData(argvals = x, X = 1:5 %o% x)
f1
class(f1)
# coerce to multiFunData object (of length 1)
m1 <- as.multiFunData(f1)
m1
class(m1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.