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

R Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

R Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it