R/print.bfast.R

Defines functions print.bfast

#' @method print bfast
#' @export
print.bfast <- function(x, ...)
{    
    cat("\n  TREND BREAKPOINTS")
    niter <- length(x$output)
    if(x$output[[niter]]$Vt.bp[1] != 0)
        print(x$output[[niter]]$ci.Vt)
    else
        cat(":  None\n")
    cat("\n  SEASONAL BREAKPOINTS")
    if(x$output[[niter]]$Wt.bp[1] != 0)
        print(x$output[[niter]]$ci.Wt)
    else
        cat(":  None\n")
    cat("\n")
}

Try the bfast package in your browser

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

bfast documentation built on May 10, 2021, 5:08 p.m.