R/print.bfast.R

Defines functions print.bfast

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 2, 2019, 6:53 p.m.