Session Ready
Exercise

Alternative function to compute summary statistics

Alternatively, the numSummary() function might be used to obtain some summary statistics. The function computes:

  • mean= the mean
  • sd = the standard deviation
  • iqr = the interquartile range
  • 0% = the minimum
  • 25% = the 1st quantile or the lower quartile
  • 50% = the median
  • 75% = the 3rd quantile or the upper quartile
  • 100%= the maximum
  • n = the number of observations

Moreover the output is more conveniently arranged. The results for all variables are summarized in one table, while the other summarizing function provides the output for each variable individually.

Instructions
100 XP
  • Calculate the summary statistics of talent_scores using the numSummary() function. The required package is already loaded in.