Skip to content
Prev 12378 / 398502 Next

vector angle

Evan Zane Macosko wrote:

            
As far as I know, the use of apply (sapply and lapply) would make things run
faster than 'for' loops.


About the NAs, you may want to ignore the vectors which have a NA coordinate, or
may be do something else...
to have a foot in this, you may try the help for the functions 'is.na' and
'na.action'.



I hope it helps,




Laurent



--
Laurent Gautier                 CBS, Building 208, DTU
PhD. Student                    D-2800 Lyngby,Denmark
tel: +45 45 25 24 85            http://www.cbs.dtu.dk/laurent


-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://stat.ethz.ch/pipermail/r-help/attachments/20010717/a5a3487b/attachment.html