plot_leslie_diagram | R Documentation |
Generate diagram of population structure
plot_leslie_diagram(leslie_mat)
leslie_mat |
Leslie matrix from which to generate diagram |
run_structured_population_simulation()
to simulate the growth of a
structured population given a Leslie matrix,
plot_structured_population_size()
,
plot_structured_population_agedist()
, and
plot_structured_population_lambda()
for plotting different aspects of the
population trajectory
leslie_matrix <- matrix(c(0, 8,1, 1, 0.4,0,0,0,0,0.8,0,0,0,0,0.1,0),
ncol = 4, byrow = TRUE)
plot_leslie_diagram(leslie_matrix)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.