Cut and paste the following vector into your script.
Then use code to print the requested values related to the vector.
You’ll need to use na.rm = TRUE to ignore the null values.
numbers <- c(7, 6, 22, 5, NA, 42)
numbers vectornumbers vectornumbersnumbers vector