Re: [R] Converting from Continuous 2D Points to Continuous 2D Vectors

2015-12-18 Thread David L Carlson
David L Carlson Department of Anthropology Texas A University College Station, TX 77840-4352 -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Sidoti, Salvatore A. Sent: Thursday, December 17, 2015 3:25 PM To: r-help@r-project.org Subject: [R] Conver

Re: [R] Converting from Continuous 2D Points to Continuous 2D Vectors

2015-12-17 Thread Boris Steipe
Ok. And what is the problem now? B. On Dec 17, 2015, at 4:25 PM, Sidoti, Salvatore A. wrote: > Greetings! > > I have a fairly large dataframe (df) with pathing information in the form of > continuous x,y coordinates: > > df$x > df$y > > With these data, I

[R] Converting from Continuous 2D Points to Continuous 2D Vectors

2015-12-17 Thread Sidoti, Salvatore A.
Greetings! I have a fairly large dataframe (df) with pathing information in the form of continuous x,y coordinates: df$x df$y With these data, I would like to: 1. Calculate a set of continuous vectors 2. Determine the angle between each of these vectors (in degrees) 3. Count the number of