injsummary_unit | R Documentation |
Transform injsummary() output according to the unit of exposure
injsummary_unit(unit, injds, quiet)
unit |
Character that indicates the unit of exposure of the sports injury data. |
injds |
|
quiet |
Logical, whether or not to silence the warning messages
(defaults to |
A list of two elements:
(i) same injds data frame with 'injincidence'
and 'injburden' values transformed according to unit
, named
injds
and
(ii) a character vector that expresses the unit used for the rates, i.e.
for the player's time at risk, named unit_timerisk
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.