search for: arrayspec

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

Did you mean: arrayspecs
2012 Jun 09
2
Help with permutation function from Turner et al. 2010 (Ecology)
...emp[z,]) res.p<-res.temp2[,-1] # Rows of residuals are now randomized y.rand<-yhat+res.p lm.new<-lm(y.rand~o*g,x=T,model=T) ls<-data.frame(expand.grid(o=levels(o),g=levels(g))) ls[]<-lapply(ls, factor) means.r<-predict(lm.new,ls) traj.r<-arrayspecs(means.r,g,o) traj.size.r<-trajsize(traj.r) traj.dir.r<-trajorient(traj.r,ang.cor=T) traj.shape.r<-trajshape(traj.r) result<-traj.result(traj.size.r,traj.dir.r,traj.shape.r) p.table<-rbind(p.table,c(i,result)) } p.table } But when I try to execute the funct...