This package provides essential function to analyse the FARS (Fatality Analysis Reporting System) dataset
library(Rhomework) library(maps) list.files(system.file("extdata", package = "Rhomework"))
fars_map_state
fars_map_state
allows you to plot the incidents within a specified state on a map. E.g. the incidents map of the first state in the year 2015 can be writen as
fars_map_state(1, 2015)
fars_summarize_years
fars_summarize_years
displays the total records from give years:
library(Rhomework) fars_summarize_years(2013)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.