R/npfda_rainbow.R
as.fds.Rd
Converts a functional data object to a fds object.
as.fds(obj, ...) # S3 method for npf.data as.fds(obj, ...)
a functional data object.
further arguments passed to or from other methods.
Returns a rainbow::fds-class object.
fdata <- npf.data(ozone, dimnames = "day") rainbow::plot.fds(as.fds(fdata))