Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

ST1131

Tutorial 1 Group Work

The marks of a final exam of a module are recorded in the file final_marks.

1. Import the data into R. Re-name the second column of the data as “mark”.
2. How may student took the exam? Derive some summaries of the final mark (mean, median, variance,
IQR and range).
3. Create a histogram of the final marks (by probability) and label its x-axis. By default, how many bins
that the created histogram has? Do you know how to change the number of bins? Hint: argument
breaks should be used if you want to change the number of bins of a histogram.

You might also like