judgeProbSeriesDetect: Detect disturbance in time series

Description Usage Arguments Value

View source: R/judgeProbSeriesDetect.R

Description

Detect disturbance in time series of CCDC and RF results. If dt_l8_use = NULL, then only S1 data is used for disturbance detection. If dt_s1_use = NULL, then only L8 data is used for disturbance detection.

Usage

1
2
3
4
5
6
7
8
9
judgeProbSeriesDetect(
  dt_l8_use,
  dt_s1_use,
  ids,
  threshold,
  seq_l,
  lag_m,
  savename = NULL
)

Arguments

dt_l8_use

a dataframe form Landsat 8 (or NULL). Should have 'ID', 'DOY', 'predict' columns.

dt_s1_use

a dataframe form Sentinel-1 (or NULL). Should have 'ID', 'DOY', 'predict' columns.

ids

vector. a list of IDs to be mapped.

threshold

a threshold to identify disturbance.

seq_l

a consective vector to judsge disturbance.

lag_m

(Deprecated). lag date for identifying disturbance.

savename

filenames for saving plots. If NULL, no plots.

Value

a dataframe with disturbance detection.


dulvrq/ddl8s1ts documentation built on May 2, 2021, 5:18 a.m.