Session Ready
Exercise

Hmisc describe output

Similar to the psych package, the Hmisc package creates customized output. The str() function will show the customized class type as well as the names of the elements stored within the Hmisc::describe() list output.

Since the output is a list, the $ selector operator can be used to extract specific elements from the Hmisc::describe() output object.

The abaloneKeep dataset, dplyr and Hmisc packages have been loaded for you.

Instructions
100 XP
  • Save the output as abhmisc from Hmisc::describe() for abalone whole weight, shucked weight, and shell weight.
  • Display the structure of abhmisc.
  • Display the shuckedWeight element from the abhmisc output object.
  • Display the extremes element from the shuckedWeight element from the abhmisc output object.