add_replicate_runs_to_database: Adds replicate runs to the database for a given experiment ID

Description Usage Arguments Value

Description

Takes a set of results and adds these to the database, ensuring these are linked to the correct parameter ID and experiment ID. As spartan outputs results in groups of the same parameter values, this method takes advantage of this by collecting results into one set before adding these to the database, to ensure better performance and less connections required to the database.

Usage

1
2
3
add_replicate_runs_to_database(dblink, parameters, measures, all_results,
  experiment_id, experiment_type, curve = NULL,
  param_of_interest = NULL)

Arguments

dblink

A link to the database in which this table is being created

parameters

The parameters of the simulation that are being analysed

measures

The measures of the simulation that are being assessed

all_results

Set of results to add to the database

experiment_id

ID of this experiment in the database

experiment_type

Type of experiment for which these runs were performed

curve

For eFAST, which resample curve this result is for

param_of_interest

For eFAST, the parameter for which this set is of interest

Value

Boolean showing success in adding to DB or failure


kalden/spartanDB documentation built on May 15, 2019, 12:02 p.m.