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

data.frame that we want to check for a deaths column

Value

The same data.frame, returned, with the deaths column renamed as "deaths"


[Package DDM version 1.0-0 Index]