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 of people who presented with other dementias were people who didn’t smoke.
One group that presents more cases than expectedwas those that had >20 cigarettes per day and had other dementias.
It seems mostly unrelated due to the fact that the largest group that had other dementias were those who didn’t smoke any cigarettes per day.
RailTrail.Hint: The RailTrail data set is from the mosaicData package.
Spring, Summer, Fall, and Avg Temp.
Summer
Hint: Use message, echo and results in the chunk options. Refer to the RMarkdown Reference Guide.