Generate a list of list of datasets with n replicates for x datapoints.
generateSets(n, klemms, species, samples, x, mode = "env", name)
n | number of replicates |
---|---|
x | vector specificying environmental strength or removed species |
mode | "env" or "abundance", env takes environmental strength into account while "abundance" includes species removal |
name | filename of output dataset |
Returns nothing, but saves .rds files of datasets
Calls on the envGrowthChanges, generateDataSet and glv functions from seqtime to generate datasets compatible with other functions.