funData-setAs: Coerce a funData object to class multiFunData

funData-setAsR Documentation

Coerce a funData object to class multiFunData

Description

Coerce a funData object to class multiFunData

Coerce a funData object to class irregFunData

See Also

funData, as.multiFunData

funData, as.irregFunData

Examples

# create funData object with 5 observations
f <- simFunData(N = 5, M = 7, eValType = "linear",
                eFunType = "Fourier", argvals = seq(0,1,0.01))$simData

# sparsify artificially
fSparse <- sparsify(f, minObs = 4, maxObs = 10)

# coerce to irregFunData object
i <- as.irregFunData(fSparse)
i

funData documentation built on May 29, 2024, 6:08 a.m.