guessDeathsColumn {DDM} | R Documentation |
Figure out which column is the deaths column
Description
This function will pick up "death"
, "deaths"
, "Death"
, or "Deaths"
(and maybe some others?) and rename it "deaths"
for easier internal usage.
Usage
guessDeathsColumn(X)
Arguments
X |
|
Value
The same data.frame
, returned, with the deaths column renamed as "deaths"
[Package DDM version 1.0-0 Index]