Learn R Programming

spartan (version 3.0.2)

lhc_graphMeasuresForParameterChange_from_db: Generates parameter/measure plot for each pairing in the analysis, from results stored in a database

Description

Produces a graph for each parameter, and each output measure, showing the simulation output achieved when that parameter was assigned that value. Eases identification of any non-linear effects. This method uses simulation results stored in a database by spartanDB

Usage

lhc_graphMeasuresForParameterChange_from_db(db_results, corcoeffs,
  parameters, measures, MEASURE_SCALE, output_directory,
  OUTPUT_TYPE = c("PDF"))

Arguments

db_results

Results for a specified experiment mined from the database

corcoeffs

Correlation coefficients calculated for those results, held in the databae

parameters

Parameters included in this analysis

measures

Simulation output measures

MEASURE_SCALE

Scale in which each of the output responses is measured. Used to label plots

output_directory

Folder where the graphs should be stored

OUTPUT_TYPE

Type of graph to plot. Can be PDF, PNG, TIFF, BMP, etc, all formats supported by ggplot2