plot_model | R Documentation |
Plot 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.
## Not run:
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")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.