plot_leslie_diagram: Generate diagram of population structure

plot_leslie_diagramR Documentation

Generate diagram of population structure

Description

Generate diagram of population structure

Usage

plot_leslie_diagram(leslie_mat)

Arguments

leslie_mat

Leslie matrix from which to generate diagram

See Also

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

Examples

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)

gauravsk/ecoevoapps documentation built on July 9, 2024, 9:37 p.m.