powered by
Initialise the landscape of the G-MSE model.
make_landscape( model, rows, cols, cell_types = 1, cell_val_mn = 1, cell_val_sd = 0, cell_val_max = 1, cell_val_min = 0, layers = 3, ownership = FALSE, owners = 4, public_land = 0, ownership_var = 0 )
The type of model being applied (Currently only individual-based -- i.e., 'agent-based' -- models are allowed)
The dimension of the other side of the landscape (e.g., Longitude)
The dimension of one side of the landscape (e.g., Latitude)
Scalar or vector of all possible types of landscape cells
Mean cell value (e.g., defining crop output on a cell)
Standard devation of cell values on a landscape
The maximum value of a cell
The minimum value of a cell
The number of layers in the 3D landscape (should usually be 3)
A TRUE or FALSE whether land should be owned by stakeholders
The number of stakeholders in the model that own land
The proportion of landscape cells that are not owned
Does distribution of land vary among users? >=0, <1
the_land A cols by rows landscape with randomly distributed cell types
# NOT RUN { land <- make_landscape(model = "IBM", rows = 10, cols = 10, cell_types = 1, cell_val_mn = 1, cell_val_sd = 0) # }
Run the code above in your browser using DataLab