calc_refpt_quants: Calculations for the reference points table

View source: R/utils-calc-refpt-quants.R

calc_refpt_quantsR Documentation

Calculations for the reference points table

Description

Calculations for the reference points table

Usage

calc_refpt_quants(df, param, scale = 1, digits = 0, perc = FALSE)

Arguments

df

The data frame containing the posteriors with the column names being the parameter names and rows being the posteriors

param

The name of the parameter which corresponds to a name in the posterior output data frame (posteriors.sso)

scale

A value to divide the values by before applying the quantiles

digits

The number of decimal points to include in the return values

perc

Logical. If TRUE, multiply the values by 100 to give a percentage instead of a proportion. Include a latex-escaped percentage sign

Value

The quantile vector formatted for the reference points tables


pacific-hake/hake-assessment documentation built on July 21, 2024, 8:19 a.m.