search for: meantam

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

Did you mean: meantim
2010 Feb 04
3
strange behaviour of median
During some experimentation in preparing R lessons I encountered this behaviour which I can not explain fully mat <- matrix(1:16, 4,4) df1 <- data.frame(mat) > mean(df1) X1 X2 X3 X4 2.5 6.5 10.5 14.5 Expected, documented > median(df1) [1] 6.5 10.5 Rather weird, AFAIK there shall not be an issue with data frame at least I did not find any in help page. I tracked it