get_stats: get_stats

View source: R/get_stats.R

get_statsR Documentation

get_stats

Description

get_stats

Usage

get_stats(
  results_file = ODE_eq,
  test_parameters = c("sigmaBA" == "sigmaAB"),
  set_baseline = c(K = 200, lambda = 1, mu = 0.5)
)

Arguments

results_file

: name of file where raw results have been stored. This file must be uploaded to the environment

test_parameters

: vector of parameters tested. if NA, all parameters will be tested apart from designated baseline. additionally, parameters where values are to be matched during analysis can be specified with "etc == etc". parameters that are able to do defined in this way are: nu, sigma, and beta.

set_baseline

: vector of parameters to be kept at baseline, if NA, all parameters combinations will be considered.

eq_threshold

: the percent threshold for coefficient of variance to determine the point of stable equilibrium

Value

A list containing the following: details of the model including the date of simulation and parameter combinations, raw results at equilibrium, correlation tests at equilibrium for each test parameter, and if ld is selected linkage disequilibrium at each parameter combination

Examples

get_stats(results_file = ODE_results,test_parameters = c("sigmaBA = sigmaAB"),set_baseline = c(K = 200, lambda = 1, mu = 0.5))

elishafreedman/bugz documentation built on Feb. 10, 2023, 1:08 p.m.