Learn R Programming

injurytools (version 2.0.1)

summary_unit: Transform calc_summary() output according to the unit of exposure

Description

Transform calc_summary() output according to the unit of exposure

Usage

summary_unit(unit, summary_data, quiet)

Value

The same calc_summary() data frame with 'incidence' and 'cburden' values transformed according to unit, named summary_data.

Arguments

unit

Character that indicates the unit of exposure of the sports-related health problem data.

summary_data

summary_data data frame to be transformed.

quiet

Logical, whether or not to silence the warning messages (defaults to FALSE).