Social Media Research

02 R Data Analysis


Question

what is the output of mean(c(1,2,NA), na.rm =TRUE) ?


Answer

1.5 because if the parameter na.rm = TRUE, then the missing values will be disregarded.




Comments