Displaying 1 result from an estimated 1 matches for "undefiun".
Did you mean:
undefin
2012 Mar 12
2
barplot and NA
Am I wrong that barplot is supposed to just skip NAs, and continue with the rest of the data in a matrix column? That's how I read various posts on the subject.
But that's not what happens for me with R64.app (on a Mac, obviously). For example:
d0 <- as.matrix(c(2,3,4))
d1 <- as.matrix(c(2,3,NA))
d2 <- as.matrix(c(2,NA,4))
d3 <- as.matrix(c(NA,3,4))
barplot(d0)
barplot(d1)