Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

as.multiFunData

Coerce a funData object to class multiFunData


Description

Coerce a funData object to class multiFunData with one element.

Usage

as.multiFunData(object)

## S4 method for signature 'funData'
as.multiFunData(object)

Arguments

object

The funData object that is to be converted to a multiFunData object of length 1.

See Also

Examples

# 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)

funData

An S4 Class for Functional Data

v1.3-5
GPL-2
Authors
Clara Happ-Kurz [aut, cre]
Initial release
2020-04-23

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.