calculateResults {DIETCOST}R Documentation

Calculates results for a Monte Carlo Simulation

Description

Calculates a confidence interval for several parameters obtained through a Monte Carlo Simulation. This function should be employed only if the standard table supplied with this package is utilized. Prints a .xlsx file in the home directory.

Usage

calculateResults(path_file, report_path, confidence_interval)

Arguments

path_file

A string containing the path to the folder containing the .csv files created in the monteCarlo function.

report_path

A string containing the path to where the report will be saved.

confidence_interval

A float. Must be either 0.01, 0.05 or 0.1.

Value

No R object return, prints an Excel workbook.


[Package DIETCOST version 1.0.0.0 Index]