Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/bfast01classify.R
A function to determine the change type
1 | bfast01classify(object, alpha = 0.05, pct_stable = NULL)
|
object |
|
alpha |
threshold for significance tests, default 0.05 |
pct_stable |
threshold for segment stability, unit: percent change per unit time (0-100), default NULL |
bfast01classify
bfast01classify
returns a data.frame with the following elements:
flag_type |
Type of shift: (1) monotonic increase, (2) monotonic decrease, (3) monotonic increase (with positive break), (4) monotonic decrease (with negative break), (5) interruption: increase with negative break, (6) interruption: decrease with positive break, (7) reversal: increase to decrease, (8) reversal: decrease to increase |
flag_significance |
SIGNIFICANCE FLAG: (0) both segments significant (or no break and significant), (1) only first segment significant, (2) only 2nd segment significant, (3) both segments insignificant (or no break and not significant) |
flag_pct_stable |
STABILITY FLAG: (0) change in both segments is substantial (or no break and substantial), (1) only first segment substantial, (2) only 2nd segment substantial (3) both segments are stable (or no break and stable) |
and also significance and percentage of both segments before and after the potentially detected break: "p_segment1", "p_segment2", "pct_segment1", "pct_segment2".
Rogier de Jong, Jan Verbesselt
de Jong R, Verbesselt J, Zeileis A, Schaepman M (2013). Shifts in global vegetation activity trends. Remote Sensing, 5, 1117–1133. http://dx.doi.org/10.3390/rs5031117
1 2 3 4 5 6 |
Attaching package: 'zoo'
The following objects are masked from 'package:base':
as.Date, as.Date.numeric
flag_type flag_significance p_segment1 p_segment2 pct_segment1 pct_segment2
1 7 0 1.672969e-10 0.00335625 7.83364 -2.924164
flag_pct_stable
1 0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.