plot_param_diffs: Plots a grid of density plots of parameter estimates on the...

View source: R/plot_param_diffs.R

plot_param_diffsR Documentation

Plots a grid of density plots of parameter estimates on the diagonal, scatter plots of parameter estimates under the diagonal and scatter plots of differences between ideal and empirical parameter estimates above the diagonal.

Description

Plots a grid of density plots of parameter estimates on the diagonal, scatter plots of parameter estimates under the diagonal and scatter plots of differences between ideal and empirical parameter estimates above the diagonal.

Usage

plot_param_diffs(
  param_set,
  data_folder_path,
  output_file_path,
  parameter,
  signif,
  scientific = FALSE,
  transform = NULL
)

Arguments

param_set

Numeric for the index of the parameter set from the parameter space

data_folder_path

String specifying the directory the data is read from

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

signif

A numeric specifying how many significant figures the axes labels have when plotting

scientific

A boolean determining whether the axis labels will be converted to scientific notation

transform

Either NULL or "ihs" to specify no transformation of the data or an inverse hyperbolic sine (ihs) transformation

Value

Void (saves plot)


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