set_options {phenofit}R Documentation

set and get phenofit option

Description

set and get phenofit option

Usage

set_options(..., options = NULL)

get_options(names = NULL)

Arguments

...

list of phenofit options FUN_season: character, season_mov or season rFUN: character, rough fitting function. smooth_wWHIT, smooth_wSG or smooth_wHANTs.

options

If not NULL, options will overwrite the default parameters (get_options()).

  • qcFUN : function to process qc flag, see qcFUN() for details.

  • nptperyear : Integer, number of images per year.

  • wFUN : character (default wTSM), the name of weights updating functions, can be one of c("wTSM", "wChen", "wBisquare", "wSELF"). See wTSM(), wChen(), wBisquare() and wSELF() for details.

    • If options$season$wFUN or options$season$wFUN is NULL, the options$wFUN will overwrite it.

  • wmin : double, the minimum weigth of bads points (i.e. snow, ice and cloud).

    • If options$season$wmin or options$season$wmin is NULL, the options$wmin will overwrite it.

  • season : See the following part: options for season for details.

  • fitting : See the following part: options for fitting for details.

names

vector of character, names of options

options for season

(a) Parameters for rough fitting

(b) Parameters for growing season division

options for fitting

Examples

set_options(verbose = FALSE) 
get_options("season") %>% str()

[Package phenofit version 0.3.9 Index]