Re: [R] x, y for point of intersection

2011-12-01 Thread Hans W Borchers
: Wed, 23 Nov 2011 14:03:42 -0800 Subject: Re: [R] x, y for point of intersection The function crossing.psp() in the spatstat package might be of use. Here's an excerpt from its help page: crossing.psp package:spatstat R Documentation Crossing Points of Two Line Segment

Re: [R] x, y for point of intersection

2011-12-01 Thread Monica Pisica
. Thanks again to all who have answered and helped to solve my problem. I certainly learned few new things. Monica From: macque...@llnl.gov To: pisican...@hotmail.com CC: r-help@r-project.org Date: Wed, 23 Nov 2011 14:03:42 -0800 Subject: Re: [R] x, y for point

Re: [R] x, y for point of intersection

2011-11-29 Thread Monica Pisica
. I certainly learned few new things. Monica From: macque...@llnl.gov To: pisican...@hotmail.com CC: r-help@r-project.org Date: Wed, 23 Nov 2011 14:03:42 -0800 Subject: Re: [R] x, y for point of intersection The function crossing.psp() in the spatstat package might be of use. Here's

Re: [R] x, y for point of intersection

2011-11-23 Thread Hans W Borchers
Monica Pisica pisicandru at hotmail.com writes: Hi everyone, I am trying to get a point of intersection between a polyline and a straight line ….. and get the x and y coordinates of this point. For exemplification consider this: set.seed(123) k1 -rnorm(100, mean=1.77, sd=3.33)

[R] x, y for point of intersection

2011-11-23 Thread Monica Pisica
Date: Wed, 23 Nov 2011 08:11:22 + From: Hans W Borchers hwborch...@googlemail.com To: r-h...@stat.math.ethz.ch Subject: Re: [R] x, y for point of intersection Message-ID: loom.2023t085346-...@post.gmane.org Content-Type: text/plain; charset=utf-8 Monica Pisica pisicandru

Re: [R] x, y for point of intersection

2011-11-23 Thread MacQueen, Don
The function crossing.psp() in the spatstat package might be of use. Here's an excerpt from its help page: crossing.psp package:spatstat R Documentation Crossing Points of Two Line Segment PatternsDescription: Finds any crossing points between two line segment patterns.

[R] x, y for point of intersection

2011-11-22 Thread Monica Pisica
Hi everyone,   I am trying to get a point of intersection between a polyline and a straight line ….. and get the x and y coordinates of this point. For exemplification consider this:     set.seed(123)   k1 -rnorm(100, mean=1.77, sd=3.33)  k1 - sort(k1) q1 - rnorm(100, mean=2.37,

Re: [R] x, y for point of intersection

2011-11-22 Thread R. Michael Weylandt michael.weyla...@gmail.com
If it's a one off, the identify() function might be of help -- if you need something algorithmic it's harder due to floating point stuff and sampling frequencies. Let me know if that's the case. Michael On Nov 22, 2011, at 3:40 PM, Monica Pisica pisican...@hotmail.com wrote: Hi

Re: [R] x, y for point of intersection

2011-11-22 Thread Monica Pisica
afterwards the results need to be translated back to the original coordinate system. Thanks, Monica CC: r-help@r-project.org From: michael.weyla...@gmail.com Subject: Re: [R] x, y for point of intersection Date: Tue, 22 Nov 2011 15:48:34 -0500 To: pisican

Re: [R] x, y for point of intersection

2011-11-22 Thread David Winsemius
On Nov 22, 2011, at 3:40 PM, Monica Pisica wrote: (edited out excessive white space) I am trying to get a point of intersection between a polyline and a straight line ….. and get the x and y coordinates of this point. For exemplification consider this: set.seed(123) k1 -rnorm(100,

Re: [R] x, y for point of intersection

2011-11-22 Thread Ted Harding
On 22-Nov-11 21:25:56, Monica Pisica wrote: Hi everyone, I am trying to get a point of intersection between a polyline and a straight line ….. and get the x and y coordinates of this point. For exemplification consider this: set.seed(123) k1 -rnorm(100, mean=1.77, sd=3.33) k1 -