Install R and R Studio by referring to the first video if you didnt do it yet.
Download R from here.
Download R Studio (Desktop free version) from here.
Then learn how to do R programming using R Studio referring to the second video.
Then submit your R codes and screenshots of your exercises (R codes and screenshots are for verifying whether you went through the tutorial videos.)
2. Do the tasks using R Studio and the following datasets.
height weight58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
115
117
120
123
126
129
132
135
139
142
146
150
154
159
164
a. Create vectors of above two datasets and assign them to two variables (height and weight) respectively.
b. Calculate the mean value of each variable/vector.
1) height:
2) weight:
c. Calculate the standard deviation of each variable/vector.
1) height:
2) weight:
d. Calculate the correlation of the two variables (height and weight). Discuss how the two variables are related.
e. Draw the scatter plot that shows the relationship of the two variables.
f. Export the plot as a pdf file.
Submit your R codes and results (get a screenshot or copy and paste from your R Studio) and the exported pdf file of the plot.

Leave a Reply
You must be logged in to post a comment.