search for: trajshap

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

Did you mean: trajshape
2012 Jun 09
2
Help with permutation function from Turner et al. 2010 (Ecology)
...and~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 function the rows in the output matrix repeat the same numbers: > test3<-permute(Y,lm.2f.red,group,obs,99) > test3...