driver_age: (Internal) Find crashes involving drivers of a given age

View source: R/find_cases.R

driver_ageR 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).


rfars documentation built on June 22, 2024, 11:42 a.m.