MCQs>Finance & Management>R>Ournames is a character vector. What values does the statement below return to Cpeople? Cpeople <- ournames %in% grep("^C", ournames, value=TRUE)
R MCQs
Ournames is a character vector. What values does the statement below return to Cpeople? Cpeople <- ournames %in% grep("^C", ournames, value=TRUE)
Answer
Correct Answer: TRUE and FALSE values, depending on whether the first character in an ournames record is C
Explanation:
Note: This Question is unanswered, help us to find answer for this one