View source: R/fun_read_land.R
read_landscape | R Documentation |
Read landscape data from PNG output.
read_landscape(
landscape_file,
layer,
crop_dim,
type = c("items", "gradient"),
max_K = 5
)
landscape_file |
Path to the landscape file. |
layer |
Which layer to read. |
crop_dim |
How many rows and columns to return. |
type |
What to return, either "items" for the item counts, or "gradient" for the gradient in item counts. |
max_K |
Carrying capacity of a cell. |
A data.table of X, Y and value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.