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. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.