-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
plot(simts) # stl object containing simulated NDVI time series | ||
datats <- ts(rowSums(simts$time.series)) | ||
# sum of all the components (season,abrupt,remainder) | ||
tsp(datats) <- tsp(simts$time.series) # assign correct time series attributes | ||
plot(datats) | ||
|
||
# Detect breaks | ||
bp = bfast0n(datats) | ||
|
||
# Default method of estimating breakpoints | ||
bp[["breakpoints"]] | ||
# Custom method | ||
strucchange::breakpoints(bp, breaks=2) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.