Data Analysis On Accidents Rates Using Ntsb Data In The R-Xtable Package.
"NTSB"(National Transportation Safety Board) is an American company responsible for civil transportation accident investigation and seeks to keep records on accidents on road and air .It was established in 1962 and it has been collecting data from their local personnel,the traffic authorities and the media.In R,xtable is used as data frame to generate either LATEX or HTML outputs of say,modern versions. Data used from the records of NTSB from the January 1983 to January 2010 was collected and recorded in excel form but later used in R for analysis. The obtained results from the analyzed data in R were in HTML AND LATEX output (prettier version) where Xtable is used as a data frame. The matrix table gives "design. Matrix" and "design.Table" outputs. 'Aov' is described in such a way that we have model 1 and model 2,where model 1 takes A as response variables and B,C,D and E as Predictors, and model 2 taking F as response variables and G,H and I as predictors.'lm' is a linear model where model 3 and model 4 are generated, of which, model 3 uses A as a Response variable and B, C and E as predictors, and model 4 taking F as response variables and G,H and I as predictors.Removing sensitive details so that the table can be easily understood sanitizes the data. Column alignment is used too. The obtained results are discussed, concluded and recommended.