fars_summarize_years: 'fars_summarize_years' function allows to summarise the data...

Description Usage Arguments Value Examples

View source: R/fars_functions3.R

Description

fars_summarize_years function allows to summarise the data by years the function takes a list of vectors (years) which are passed in the third function above then dataframes are binded to be summarised the number of cases per year from a longitudinal format to wide format is converted by using the spead function

Usage

1

Arguments

years

A vector of years to be read

Value

returns a dataframe with the number of cases summarised by year in a wide format

Examples

1
2
fars_summarize_years(c(2013,2014))
fars_summarize_years(c(2013,2014,2015))

johans27/fars3 documentation built on May 25, 2019, 6:24 p.m.