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 Oct. 10, 2022, 1:06 a.m.