calc_ed95_for_plots: Calculate ED95 statistic for all parameter sets of a...

View source: R/calc_ed95_for_plots.R

calc_ed95_for_plotsR Documentation

Calculate ED95 statistic for all parameter sets of a parameter space

Description

This function will load the results of each parameter set from a given parameter space and compute all associated ED95 statistics. All parameter sets of the parameter space must be in the same folder, located in folder_path. The return type is appropriate for the main plot functions.

Usage

calc_ed95_for_plots(folder_path, param_space)

Arguments

folder_path

A file path (use file.path() for formatting convenience) where all the parameter sets results of a given parameter space are stored in .rds format.

param_space

A data frame of the parameter space.

Value

A data frame which is identical to each scenarios' parameter spaces as as read by load_param_space(). In addition to the columns in the parameter spaces, 5 columns are appended with the ed95 statistic obtained for each set parameter set:

  • $ed95_spec_nltt

  • $ed95_endemic_nltt

  • $ed95_nonendemic_nltt

  • $ed95_num_spec

  • $ed95_num_col

Author(s)

Pedro Santos Neves, Joshua W. Lambert


Neves-P/DAISIErobustness documentation built on May 22, 2024, 4:26 p.m.