Description Usage Arguments Value Author(s)
View source: R/simulate_samples.R
this function simulates a time series of vegetation indexes using a cosine function.
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
)
|
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. |
A numeric vector
Alber Sanchez, alber.ipia@inpe.br
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.