Description Usage Value Examples
These functions set options of the bfast and strucchangeRcpp packages to enable
faster computations. By default (set_default_options
), these optimizations are
enabled. Notice that only some functions of the bfast
package make use of these options. set_fast_options
is an alias for set_default_options
.
1 2 3 4 5 |
A list of modified options and their new values.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # run bfastmonitor with different options and compare computation times
library(zoo)
NDVIa <- as.ts(zoo(som$NDVI.a, som$Time))
set_default_options()
## Not run:
system.time(replicate(100, bfastmonitor(NDVIa, start = c(2010, 13))))
## End(Not run)
set_fallback_options()
## Not run:
system.time(replicate(100, bfastmonitor(NDVIa, start = c(2010, 13))))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.