[R] ugly loop

Bill Simpson William.Simpson at drdc-rddc.gc.ca
Fri Apr 22 15:49:10 CEST 2005


On Fri, 22 Apr 2005, Marc Schwartz wrote:
> Thus, I just need to use t(ver) instead of ver:
> 
> > x <- pt$x[t(ver)]
> > y <- pt$y[t(ver)]
> > z <- pt$z[t(ver)]

> That should do it?
Yep!!

Thanks very much Marc and others who suggested this.

Cheers
Bill




More information about the R-help mailing list