Question: The built-in data set mammals contains data on body weight versus brain weight. Use R-Studio 1. Use the cor to find Pearson and Spearman correlation
The built-in data set mammals contains data on body weight versus brain weight. Use R-Studio
1. Use the cor to find Pearson and Spearman correlation coefficients.
2. Make a scatterplot using the plot command. Does the data show linear relationship?
3. Make a scatterplot after taking the logarithm (log) of each variable.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
