driver_age {rfars}R Documentation

(Internal) Find crashes involving drivers of a given age

Description

These internal functions take the FARS object created by use_fars and look for various cases, such as distracted or drowsy drivers.

Usage

driver_age(df, age_min, age_max)

Arguments

df

The FARS or GESCRSS data object to be searched.

age_min

Lower bound on driver age (inclusive).

age_max

Upper bound on driver age (inclusive).


[Package rfars version 1.2.0 Index]