Make world
1 2 3 |
size |
Integer. How big should each side of the the square world be in pixels? |
range |
Integer. How spatially autocorrelated do you want the data? Higher values are more coarsely autocorrelated. |
discrete |
Logical. Should the values of cells in the world be discrete? If set to |
nclasses |
Integer. How many classes (e.g. habitats) do you want to produce? This is ignored if |
habitatColors |
Character vector of colors for the plot |
plot |
Logical Should the resulting plot of the world be printed? The plot is not returned in any case. |
returnDF |
Logical. Do you want to return the dataframe with the raw variables or not? Default is TRUE. |
main |
a title for the plot |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.