View source: R/fun_weight_evo.R
get_agent_distribution | R Documentation |
A function to get the per-generation per-timestep occupancy per cell.
get_agent_distribution(
data_folder,
which_gen = seq(991, 998, 1),
n_time = 200,
capacity_matrix,
layers = c("items", "foragers", "klepts", "klepts_intake", "foragers_intake")
)
data_folder |
Which data folder to summarise. Data folders should contain the results of ONE replicate of ONE parameter combination. |
which_gen |
Which generations to look for. Defaults to 991 – 998. |
n_time |
The timesteps per generation. |
capacity_matrix |
The capacity matrix. |
layers |
Which layers to read in. Defaults to all layers. |
A data.table of the per-capacity, per-timestep, per-generation values (mean, median, standard deviation) of each layer.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.