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

2011-12-01 Thread Monica Pisica
oblem. 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:4

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

2011-12-01 Thread Hans W Borchers
t; > 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

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

2011-11-29 Thread Monica Pisica
ave 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 of intersection > > The fun

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

[R] x, y for point of intersection

2011-11-23 Thread Monica Pisica
Message: 99 Date: Wed, 23 Nov 2011 08:11:22 + From: Hans W Borchers To: Subject: Re: [R] x, y for point of intersection Message-ID: Content-Type: text/plain; charset="utf-8" Monica Pisica hotmail.com> writes: > Hi everyone, > > I am trying to get a

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

2011-11-23 Thread Hans W Borchers
Monica Pisica 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) k1

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

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, mean=1.7

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:3

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

2011-11-22 Thread R. Michael Weylandt
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 wrote: > > > > Hi everyone, > > > > I a

[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, sd=0