1

How is a character string converted to a numeric vector in R using the as.numeric() function?

Correct Answer: as.numeric("123")

Make the most of this question

This page focuses on one R Programming MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

R Programming MCQs MCQ: How is a character string converted to a numeric vector in R using the as.numeric() function? | Extra Education