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.
Unlock full course notes by signing up
Working with Data in R: difficulty 4
A file assay.csv has two columns, group and value. It contains seven data rows:
The instrument that produced the file writes -999 whenever a reading failed. A student runs d <- read.csv("assay.csv") and immediately computes group means.
Answer all five parts.