Description Usage Arguments Value Examples
Given a list of populations, probably produced from running
a model (see multiple.step
), create a summary table, one row per generation.
1 | model.summary(p.list, sigma = 1, file.csv = NA)
|
p.list |
A list of point populations (.ppp) |
sigma |
Bandwidth used for calculating density for each generation |
file.csv |
A file name as a string or NA. If not NA, then a csv file using this name is created. |
A dataframe, one row per generation, showing summary statistics for the population.
1 2 3 4 5 6 7 8 | # Create a default population
p <- create_ibm_population()
# Create bigger window for population to expand
p$window <- owin(c(-50,50),c(-50,50),unitname="metres")
# Use default parameters for behaviour.
pm <- multiple.step(steps=5,curr.pop=p,move.table=movement.table(),
survival.table(),breeding.table(),habitat.surface=NA,crowding.table())
print(model.summary(pm))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.