h_summarize_add_stats: Helper function to calculate average across iterations for...

View source: R/helpers_simulations.R

h_summarize_add_statsR Documentation

Helper function to calculate average across iterations for each additional reporting parameter extracts parameter names as specified by user and averaged the values for each specified parameter to show() and output with cat to console

Description

Helper function to calculate average across iterations for each additional reporting parameter extracts parameter names as specified by user and averaged the values for each specified parameter to show() and output with cat to console

Usage

h_summarize_add_stats(stats_list)

Arguments

stats_list

object from simulation with nested parameter values (sublist for each parameter)

Value

list of parameter names and averaged values for console output


Roche/crmPack documentation built on April 30, 2024, 3:19 p.m.