env_generate | R Documentation |
Generates density independent environmental conditions for metacommunity simulations
env_generate(landscape, env.df, env1Scale = 2, timesteps = 1000, plot = TRUE)
landscape |
landscape generated by landscape_generate() |
env.df |
optional dataframe with environmental conditions with columns: env1, patch, time |
env1Scale |
scale of temporal environmental autocorrelation between -2 (anticorrelated) and 2 (correlated), default is 2 |
timesteps |
number of timesteps to simulate |
plot |
option to show plot of environmental variation |
dataframe with x and y coordinates, time, and environmental conditions
Patrick L. Thompson, patrick.thompson@zoology.ubc.ca
env_generate(landscape_generate())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.