what do you mean when you use the word 'handling'? Missing values in R are called NAs (non-availables). Some functions (e.g., mean) have a parameter to handle NAs automatically. What is the
name of that parameter?
When you say â€œhandleâ€ what do you mean? Because figuring out where nas are AND removing nas could both be considered
Answers and follow-up questions Answer or follow-up question 1
The question provides the mean() function as an example. Whenever something is not clear, the first thing you want to do is focus on that
example. After doing ?mean you'll notice that there is only one parameter that refers to NA: na.rm. The documentation then reads as follows:
"a logical value indicating whether NA values should be stripped before the computation proceeds.".
In short, I think there is little ambiguity as to what "handle" exactly refers to in this case. Whenever I use a word such as "handling", I
will make sure it is clear what I mean by providing context for the question, such as by giving an example (in this case mean()).
In addition, you are more than welcome to ask for clarifications during exams, assignments and exercises.
Michel Ballings Answer or follow-up question 2 Answer or follow-up question 3Sign in to be able to add an answer or mark this question as resolved.