plot_endemics: Plots two faceted boxplots of the percent of endemics on the...

View source: R/plot_endemics.R

plot_endemicsR Documentation

Plots two faceted boxplots of the percent of endemics on the island for different values of mainland extinction. The left side facet has the ideal data and the right side facet has the empirical data.

Description

Plots two faceted boxplots of the percent of endemics on the island for different values of mainland extinction. The left side facet has the ideal data and the right side facet has the empirical data.

Usage

plot_endemics(analysis_results, output_file_path, parameter, labels = NULL)

Arguments

analysis_results

A list of analysis_result elements which can be checked with check_analysis_result

output_file_path

String specifying the directory the file is saved in, if NULL the file is returned to console and not saved

parameter

String specifying which parameter is plotted. "mainland_ex" plots mainland extinction as the variable, "mainland_sample_prob" plots mainland sampling probability as the variable and "both" plots all the data

labels

A string or vector of strings to label the plotting grid

Value

Plot


joshwlambert/DAISIEmainland documentation built on July 14, 2024, 5:40 p.m.