plot.bfastlite {bfast}R Documentation

Plot the time series and results of BFAST Lite

Description

The black line represents the original input data, the green line is the fitted model, the blue lines are the detected breaks, and the whiskers denote the magnitude (if magstat is specified).

Usage

## S3 method for class 'bfastlite'
plot(x, breaks = NULL, magstat = NULL, magcomp = "trend", ...)

Arguments

x

bfastlite object from bfastlite()

breaks

number of breaks or optimal break selection method, see strucchangeRcpp::breakpoints()

magstat

name of the magnitude column to plot (e.g. RMSD, MAD, diff), see the Mag component of strucchangeRcpp::magnitude.breakpointsfull()

magcomp

name of the component (i.e. column in x$data_pp) to plot magnitudes of

...

other parameters to pass to plot()

Value

Nothing, called for side effects.


[Package bfast version 1.6.1 Index]