On Jul 1, 2010, at 9:00 AM, David Winsemius wrote:


On Jul 1, 2010, at 7:53 AM, ravikumar sukumar wrote:

Dear all,
I am a biologist. I have two sets of distance P(start1, end1) and Q(start2,
end2).
The distance will be like this.
P         ------------------------
Q  ----------------------------------------

I want to know whether P falls closely to the right end or left end of Q.
P and Q are of different lengths for each data point.

Do you want to know whether

Should have been : abs( P(start1) - Q(Start2) ) < abs( P(end1) - Q(end2) )


The arithmetic operators and comparison operators are vectorized.

There are more than
10000 pairs of P and Q.

You could offer an example:

?head

Is there any test or function in R to bring a statistically significant
conclusion.

?binom.test  # if my interpretation above is what you were asking.


Thanks for all,



David Winsemius, MD
West Hartford, CT

______________________________________________
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.

Reply via email to