R/print.fds.R

`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 May 29, 2024, 5:52 a.m.