plot_model.RdPlot a mark-recapture model's output
plot_model(model, what)
| model | A model objectgenerated by |
|---|---|
| what | What to plot. Must be a character string of either "abundance", "recruitment", or "survival". |
A ggplot object.
if (FALSE) { captures <- system.file("extdata", "capture-example.csv", package = "mrmr") translocations <- system.file("extdata", "translocation-example.csv", package = "mrmr") surveys <- system.file("extdata", "survey-example.csv", package = "mrmr") out <- clean_data(captures, translocations, surveys) model <- fit_model(out, chains = 1, iter = 10) plot_model(model, what = "abundance") }