Generate summary statistics
generate_sum_stats.Rd
This function generates summary statistics of input and output values of a probabilistic analysis.
Arguments
- df
a dataframe.
- v_params
character or vector of character. Vector of names of the variables of `df` for which to return summary statistics. Default is NULL which returns summary values for all inputs and outputs in the dataframe.
- x
character string. Name of the first variable used to select a range of outcomes.
- y
character string. Name of the second variable used to select a range of outcomes.
- xmax
numeric. Maximum value the `x` variable can have (inclusive).
- xmin
numeric. Minimum value the `x` variable can have (inclusive).
- ymax
numeric. Maximum value the `y` variable can have (inclusive).
- ymin
numeric. Minimum value the `y` variable can have (inclusive).
Examples
# Generating summary data of all inputs using the example dataframe
data(df_pa)
df_summary <- generate_sum_stats(df_pa)