fars_summarize_years: fars_summarize_years

Description Usage Arguments Value Note Examples

View source: R/fars_functions.R

Description

This function creates a table combining the tables generated from the vectors of years given to the function. The infomation showed is the main statistics by year of the columns in each database.

Usage

1

Arguments

years

A vector with years of interest.

Value

This function creates a table with the descriptive statistics by year.

Note

This function uses the function bind_rows, group_by and summarize from the dplyr package and the function spread from the tidyr.

Examples

1
2
years =c(2000,2001,2002)
fars_summarize_years(years)

fardl/framirez documentation built on Feb. 26, 2020, 9:40 a.m.