RailTrail
.hightemp
and cloudcover
is quite small. Would you be sure that the two variables are not related at all? Create scatter plot. After examing the scatter plot, would you conclude 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 alzheimer’s doesn’t smoke any cigarettes.
The group that has more cases than expected would be those who have dementia, they smoke 20 more cigarettes a day.
No, people who have Alzheimer’s were showed to smoke the least out of everyone. They had the largest box under none.
RailTrail
.Hint: The RailTrail
data set is from the mosaicData
package.
Hightemp and number trail users have the most positive correlation at 0.92
The most popular season for trail users is summer
Hint: Use message
, echo
and results
in the chunk options. Refer to the RMarkdown Reference Guide.