Have a data frame of numerical data and using apply with median along columns. I'm getting NA for the median even though there are some non-zero entries in the columns. I did str(df) to ensure all of the df is integer and it is. What does it mean when R says the median is NA? Thanks.
v1 v2 v3.....
1 3 4
0 0 0
. . .
Also, I got a bunch warnings like this: "1: In mean.default(sort(x, partial = half + 0L:1L)[half + ... : argument is not numeric or logical: returning NA"