RailTrail.hightemp and cloudcover is quite small. Would you be sure that the two variables are not related at all?The data set is from a case-control study of smoking and Alzheimer’s disease. The data set has two variables of main interest:
smoking a factor with four levels “None”, “<10”, “10-20”, and “>20” (cigarettes per day)disease a factor with three levels “Alzheimer”, “Other dementias”, and “Other diagnoses”.The largest group that has other dimentias are people that do not smoke cigarettes. This is shown by the largest bar on the mosaic smoking chart for the other dimentias category.
One group that has more cases than expected are people that have other dimetia and also smoke more than 20 cigarettes per day. This is shown by the blue color on the mosaic smoking graph.
No, smoking does not seem to matter in determining other dimentias. People who smoke any amount of cigarettes have a similar amount of cases for dimentia compared to those who do not smoke at all.
RailTrail.Hint: The RailTrail data set is from the mosaicData package.
Fall, cloud cover, precipitaion, and spring all have negative correlation with the number of trail users.
Fall seems to be the least popular season for trail users. This is shown on the chart by a number of -0.25 for volume during the fall.
Hint: Use message, echo and results in the chunk options. Refer to the RMarkdown Reference Guide.