Displaying 1 result from an estimated 1 matches for "distance_f".
Did you mean:
distance_b
2006 Apr 19
1
Hmisc + summarize + quantile: Why only quantiles for first variable in data frame?
...im
sgldm2 <- read.table("E:/analysistemp/060412_test_data2.txt", header=T)
attach(sgldm2)
names(sgldm2)
FUN <- function(x)c(Mean=mean(x,na.rm=TRUE),
STDEV=sd(x,na.rm=TRUE), Quantile=quantile(x, probs=
c(0.25,0.50,0.75),na.rm=TRUE))
ordering <- llist(time_h_f, Distance_f)
resALL <- summarize(sgldm2[,8:10], ordering, FUN)