setoptions {bfast}R Documentation

Set package options with regard to computation times

Description

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.

Usage

set_default_options()

set_fast_options()

set_fallback_options()

Value

A list of modified options and their new values.

Examples



# 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)


[Package bfast version 1.6.1 Index]