Learn R Programming

fda.usc (version 2.1.0)

mfdata: mfdata class definition and utilities

Description

mfdata is a list with fdata type of object:

  • ... fdata objects of class fdata with n rows.

Usage

mfdata(...)

# S3 method for mfdata names(x)

# S3 method for mfdata subset(x, subset, ...)

Arguments

...

Further arguments passed to methods.

x

object of class mfdata

subset

subset

Examples

Run this code
data(tecator)
ab0 <- tecator$absorp.fdata
ab1 <- fdata.deriv(ab0)
ab2 <- fdata.deriv(ab0,nderiv=2)
mdat <- mfdata(ab0, ab1, ab2)
is.ldata(mdat)
class(mdat)
plot(mdat[[1]])
plot(mdat[[2]]) 
plot(mdat)

Run the code above in your browser using DataLab