Modify list of Chinook TAMM spreadsheet dataframes to facilitate comparison.
Source:R/format_key_tamm_sheets.R
format_key_tamm_sheets_chin.Rd
Modify list of Chinook TAMM spreadsheet dataframes to facilitate comparison.
Usage
format_key_tamm_sheets_chin(
dat,
percent.digits = 1,
numeric.digits = 1,
numeric.digits.small = 4
)
Arguments
- dat
list of dataframes corresponding to the overview, limiting stock, and inputs tabs. Must be named
$overview
,$limiting
, and$input
- percent.digits
Optional, number of decimal places to round percentages to before comparison. Defaults to 1.
- numeric.digits
Optional, number of decimal places to round non-percentage numerics to before comparison. Applied to numbers that are expected to have natural units of whole numbers (e.g. numbers of fish). Defaults to 1.
- numeric.digits.small
Optional, number of decimal places to round non-percentage numerics to before comparison. Applied to numbers that are expected to be small (e.g. rates, proportions) Defaults to 4.