[R] Calculate an equation
P.Branco
pjlbranco at yahoo.com
Thu Nov 20 13:40:13 CET 2008
Dear all,
I was wondering if you could help me with the following.
I want to do calculate this equation:
Ps(t)= (∑_(r=1)^N Xtr* 1/√drs)/(∑_(r=1)^N 1/√drs)
Ps(t) – Probability that taxon t will occur at site s (300 sites s)
N – Number of sites = from 1 to 49
Xtr – Value for taxon t at site r (I have this information in a table, 40
taxa (columns) t, 49 sites r)
drs – Distance from site r to site s (this information is on a table, s
sites (columns))
I thought that R would be the software to use, but I am experiencing some
difficulties
Thanks to everyone,
P.Branco
--
View this message in context: http://www.nabble.com/Calculate-an-equation-tp20600332p20600332.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list