[R] R cycle to calculate distances
pjlbranco at yahoo.com
Mon Nov 17 15:24:34 CET 2008
I am for the first time trying to work with R, but I have bumped into a
I have four vectors:
r1 (49 values)
r21 (49 values)
r22 (49 values)
r3 (49 values)
s1 (300 values)
s21 (300 values)
s22 (300 values)
s3 (300 values)
And I would like to calculate the distances from all references (r) sites to
sample (s) site, for that I wrote this equation:
Now how can I run a cycle in order to calculate the distances?
Could you please help me?
View this message in context: http://www.nabble.com/R-cycle-to-calculate-distances-tp20540340p20540340.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help