October 2017
Beginner to intermediate
572 pages
26h 1m
English
Perform the following steps:
To make the counting table, we first use the contingency table built with the inputs of the transmission type and number of forward gears:
> ftable = table(mtcars$am, mtcars$gear) > ftable Output: 3 4 5 0 15 4 0 1 0 8 5
> mosaicplot(ftable, main="Number of Forward Gears Within Automatic and Manual Cars", color = TRUE)

Read now
Unlock full access