search for: a13872489

Displaying 1 result from an estimated 1 matches for "a13872489".

2007 Nov 20
4
Problems with NA's
Difficulty handling NA's: Assume that I have a numeric vector y. For simplicity, assume that it has 10 elements. Assume that the third element has the value NA. I give it the following: NA_test <- function (){ y <- numeric (10) y [3] <- NA if (y [3] != NA){(print ("no")} print ("Leaving NA_test") return () }# End of function