Description Usage Arguments Value Author(s) Examples
View source: R/simulate_samples.R
This function simulates a sits_tibble using random data. The time series are simulated using a cosine function.
| 1 2 3 4 5 6 7 8 9 10 11 12 | sim_sits_tibble(
  n_samples,
  label = "label_A",
  lon_mean = -65,
  lon_sd = 1,
  lat_mean = -5,
  lat_sd = 1,
  date_start = "2000/01/01",
  date_end = "2000/12/31",
  obs_freq = 23,
  n_vi = 1
)
 | 
| n_samples | A length-one numeric. The number of samples per label. | 
| label | A character. The labels for returned tibble. The default is "label_A". | 
| lon_mean | A length-one numeric. The central longitude of the random samples. The default is 65 degrees est. | 
| lon_sd | A length-one numeric. The standard deviation of the longitude of the random samples. The default is 1. | 
| lat_mean | A length-one numeric. The central latitude of the random samples. The default is 5 degrees south. | 
| lat_sd | A length-one numeric. The standard deviation of the latitude of the random samples. The default is 1. | 
| date_start | A length-one character.The start date. The default is "2000/01/01". | 
| date_end | A length-one character.The start date. The default is "2000/12/31". | 
| obs_freq | A length-one numeric. The number of observations in the period. The default are 23. | 
| n_vi | A length-one numeric. The number of vegetation indexes on each sample. The default is 1. | 
random_st A sits_tibble
Alber Sanchez, alber.ipia@inpe.br
| 1 2 3 4 | library(sits.prodes)
library(sits)
my_st <- sim_sits_tibble(10, label = c("A", "B"))
sits_plot(my_st)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.