simulate_ts: Simulate a time series of a Vegetation Index (VI). Alber...

Description Usage Arguments Value Author(s)

View source: R/simulate_samples.R

Description

this function simulates a time series of vegetation indexes using a cosine function.

Usage

1
2
3
4
5
6
7
8
9
simulate_ts(
  t_vector,
  m = 0.5,
  amplitude = 0.15,
  freq = 16/365,
  phase_shift = 0,
  noise_mean = 0,
  noise_sd = 0.2
)

Arguments

t_vector

Numeric. A vector of time indexes.

m

A length-one numeric. The mean of the VI.

amplitude

A length-one numeric. The amplitude of the VI wave.

freq

A length-one numeric. The frequency of the VI wave.

phase_shift

A length-one numeric. The phase shift of the VI wave.

noise_mean

A length-one numeric. The mean of the noise.

noise_sd

A length-one numeric. The stabndard deviation of the noise.

Value

A numeric vector

Author(s)

Alber Sanchez, alber.ipia@inpe.br


albhasan/sits.prodes documentation built on Sept. 3, 2020, 2:03 p.m.