Working with Data in R: difficulty 3

In an R session a student runs

x <- factor(c("10", "20", "5", "20", "10"))
sum(as.numeric(x))

Report the value that the second line prints. Give a whole number.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Working with Data in R Questions: