calculateGroupedResults {DIETCOST}R Documentation

Calculates grouped results for a Monte Carlo Simulation

Description

Calculates a confidence interval for price and footprints obtained through a Monte Carlo Simulation, grouped by food groups. 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

calculateGroupedResults(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]