Practise the base-R summary functions from Practice: Statistical Summary on the built-in swiss dataset.

The program reads the name of a column of swiss (for example Agriculture). Select that column with swiss[[column]], then print, each rounded to 2 decimal places:

  1. the mean, as Mean: …
  2. the standard deviation, as SD: …
  3. the median, as Median: …
  4. the first and third quartiles from quantile(v, c(0.25, 0.75)), as Q1: … and Q3: …

For Agriculture the first line is Mean: 50.66. Try other columns in the Input tab: Examination, Education, Catholic.

Then run summary(swiss) on its own to see every column at once. (The psych::describe function from the reading isn't available here; summary covers most of it.)

You do not have permission to attempt this activity.