View source: R/generate_data.R
Function to generate chaotic time series Based on the Hastings and Powell (1991) equations as used in Perretti et al. (2013) in Ecology
1 2 | generate_data(nsamples, seed = 301, ncores = 6, state = c(X = 1, Y = 1, Z
= 1), times = seq(1, 1000, by = 1))
|
nsamples |
Number of samples |
seed |
Random number seed used for parameter sampling |
ncores |
Number of cores, currently uses mclapply |
state |
Starting values, defaults to X = 1, Y = 1, Z = 1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.