Devices may be airbags or seatbelts. For airbags, alternatives are to use “airbag installed” or “airbag deployed” as the criterion. The plot shows, for each of the specified features, the ratio of driver death rate (or other outcome, e.g., death or injury) with feature, to rate without feature, in both cases for passenger without feature.
plotFars(tabDeaths=gamclass::frontDeaths,
statistics = c("airbagAvail", "airbagDeploy", "restraint"))
A graphics object is returned
List, containing (as a minimum) three-dimensional arrays
with the names specified in the argument statistics
, such as is
returned by the function tabFarsDead
Vector of character: names of the sublists, which contain information on the deathrates
John Maindonald
The name injury
is used, with frontDeaths
or sideDeaths
or rearDeaths
or otherDeaths
as the first argument, to refer to
deaths. The function tabFarsDeaths
allows the option of returning an
object, suitable for using as first argument, that treats injury
as
death or serious injury.