Chapter 8 Extracting one variable from the data

You may want to summarise the data to obtain numerical summaries. Try the following code.

Nurses$Hours_Total
## [1] 6 7 8 9
Nurses$Nurse_ID
## [1] 21  1 66  7