R/print.fmres.R

Defines functions print.fmres

print.fmres <- function(x, ...) 
{
    if (class(x)[1] == "fmres") {
        cat("Residuals of a functional model\n")
        cat("\nCall:", deparse(x$call, 200), "\n")
        cat(paste("\nResiduals:"))
        cat(paste("\n   y:", x$yname, "\n   x:", x$xname, 
            "\n"))
    }
    else {
        stop("object is not a functional time series model")
    }
}

Try the ftsa package in your browser

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

ftsa documentation built on May 29, 2024, 2:47 a.m.