Description Usage Arguments Value Examples
View source: R/bfast_interactive.R
This function allows the selection of a cell by clicking on a raster plot,
and then executes bfast::bfast()
for the cell's time series. The
function then runs and plots bfast()
on the time series.
1 2 3 |
data_layers |
A RasterBrick or RasterStack object. A RasterBrick is preferable to reduce processing time. |
obs_per_year |
A number indicating the number of observations in the time series per year. For example, this argument should be set to 12 for monthly data. For MODIS 16-day aggregates, this should be set to 23 (365/16, rounded to nearest integer.) |
display |
A number or a RasterLayer object. If |
add_layers |
An optional list of Spatial objects to be plotted on top of
|
cell_number |
A number indicating the cell number through which
|
new_window |
A logical indicating if the BFAST results should appear in a new graphics window. |
impute |
A logical indicating whether the function should linearly
interpolate through time series with missing data if the time series does
not exceed the thresholds defined by |
nodata_threshold |
A numeric vector of length 2. The first entry is the
proportion of missing data points in each time series above which the
function will not execute and return |
return_bfast |
A logical indicating if the BFAST results should be returned. |
... |
Arguments passed on to |
A bfast object (if return_bfast=TRUE
) or nothing otherwise.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.