R/get_output_table.R

#' get_output_table
#'
#'Takes in different runnames and parameters selected to compare. Calculates bias and coverage across different simulations for each run setting.
#'Aim is to output xtable that can be easily read into latex with simulation exercise results.
#'
#' @param runnames Different runsettings to compare (ie alldata vs. nobreakdown)
#' @param plotpars The parameters you want to compare (ie sensworld)
#' @return An xtable object that has latex code for the simulation results table.
#' @export
#'
#' @examples
#'
#'
#'
#'

get_output_table <- function(runnames, plotpars){

  outext <-  paste(getwd(), "/Output/", sep="")
  BuildDF(outext = outext, runnames = runnames)
  sum_across_sim(runsettings = runnames)
  create_xtable(plotpars = plotpars)

}
Enpeterson/outputsim documentation built on May 24, 2019, 9:53 a.m.