R Dataset / Package vcd / Trucks
Truck Accidents Data
Data from a study in England in two periods from November 1969 to October 1971 and November 1971 to October 1973. A new compulsory safety measure for trucks was introduced in October 1971. Therefore, the question is whether the safety measure had an effect on the number of accidents and on the point of collision on the truck.
A data frame with 24 observations on 5 variables.
frequency of accidents involving trucks.
factor indicating time period (before, after) 1971-11-01.
factor indicating whether the collision was in the back or forward (including the front and the sides) of the truck (back, forward).
factor indicating whether the truck was parked (yes, no).
factor indicating light conditions: day light (daylight), night on an illuminated road (night, illuminate), night on a dark road (night, dark).
E. B. Andersen (1991), The Statistical Analysis of Categorical Data, Table 6.8.
E. B. Andersen (1991), The Statistical Analysis of Categorical Data. 2nd edition. Springer-Verlag, Berlin.
library(MASS) data("Trucks") tab <- xtabs(Freq ~ period + collision + light + parked, data = Trucks) loglm(~ (collision + period) * parked * light, data = tab) doubledecker(collision ~ parked + light + period, data = tab) cotabplot(tab, panel = cotab_coindep)
Dataset imported from https://www.r-project.org.
From Around the Site...
|Title||Authored on||Content type|
|R Dataset / Package psych / affect||March 9, 2018 - 1:06 PM||Dataset|
|R Dataset / Package DAAG / leafshape||March 9, 2018 - 1:06 PM||Dataset|
|R Dataset / Package Stat2Data / TipJoke||March 9, 2018 - 1:06 PM||Dataset|
|R Dataset / Package psych / bfi.dictionary||March 9, 2018 - 1:06 PM||Dataset|
|LifeCycleSavings||February 26, 2017 - 11:28 AM||Dataset|