Plot demographic history encoded in a slendr model

plot_model(model, sizes = TRUE, proportions = FALSE, log = FALSE)

Arguments

model

Compiled slendr_model model object

sizes

Should population size changes be visualized?

proportions

Should gene flow proportions be visualized (FALSE by default to prevent cluttering and overplotting)

log

Should the y-axis be plottted on a log scale? Useful for models over very long time-scales.

Value

Plot object of the class ggplot