Description Usage Arguments Details Value Examples
This function executes strucchange::sctest
for a spatiotemporal
dataset as a pre-processing step before BFAST analysis.
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.) |
processingGeometry |
An optional RasterLayer, SpatialPolygons, or SpatialPolygonsDataFrame object that demarcates the boundary in which the function will operate. This argument will also take a RasterStack or RasterBrick object and compute the boundary based on the intersected region. |
subset_values |
A vector or list of vectors that specifies which pixel
values to select in |
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 |
h |
See documentation for |
season |
See documentation for |
type |
See documentation for |
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 |
mc.cores |
A numeric indicating the number of cores to be used in parallel computing. |
The minimum p-value that sctest
can return is 0.01. It is unclear if
this is a representative value for all p-values less than or equal to 0.01 or
if all p-values at 0.01 are indeed exactly equal to 0.01. This subtle detail
is important for performing p-value adjustments. For example, if many
p-values are actually much smaller than 0.01, the adjusted p-value may flag
them as not significant as a result of having them set at the nominal 0.01
level.
A data frame with two columns: no_cell
and sc.p
.
no_cell
is the cell number (starting from 1 at the top-left of the
raster grid and increasing by row). sc.p
is the structural change
test p-value.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.