Converts a functional data object to a fds object.

as.fds(obj, ...)

# S3 method for npf.data
as.fds(obj, ...)

Arguments

obj

a functional data object.

...

further arguments passed to or from other methods.

Value

Returns a rainbow::fds-class object.

Examples

fdata <- npf.data(ozone, dimnames = "day")
rainbow::plot.fds(as.fds(fdata))