`print.fds` <- function (x, digits = NULL, ...) 
    if (class(x)[1] == "fds"){
        cat("Functional data set")
        cat(paste("\n y:", x$yname))
        cat(paste("\n x:", x$xname, "\n"))
    else {
         stop("object is not a functional data set.")

Try the rainbow package in your browser

Any scripts or data that you put into this service are public.

rainbow documentation built on Jan. 29, 2019, 5:09 p.m.