[R] Please HELP

2011-05-31 Thread mustafabinar
Hi R people.   I have a problem. What can I create by using functions the combinations of distances in multiple comparisons tests such as duncan multiple range test?   cur=sample(rnorm(15),15,replace=TRUE) varr=factor(c(rep("var1",5),rep("var2",5),rep("var3",5))) dat<-data.frame(cur, varr) lmm<-lm(

[R] :HELP

2011-04-03 Thread mustafabinar
Hello,   I want to sum first three terms of each column of matrix. But I don't calculate with "apply" function.   skwkrt<-function(N=1,mu=0,sigma=1,n=100, nboot=1000,alpha=0.05){ x<-rnorm(N,mu,sigma)#population samplex<-matrix(sample(x,n*nboot,replace=T),nrow=nboot) #... }   is that: suppose a

[R] Duncan's multiple range test

2011-04-10 Thread mustafabinar
Hello;   I don't find quantile function of duncan's multiple range test.   Example   quantile function of Tukey test is qtukey(...). What is quantile function for Duncan's multiple range test? If you help me, i am very happy.   Thanks. Facebook ve Twitter hesaplarýný te