Re: [R] track on boats

2013-10-24 Thread MacQueen, Don
A good choice might be to store your data in objects of class SpatialLinesDataFrame Then you can assign any attributes you want to each line, such as your vessel, type, destination, or status. This will make it relatively easy to, for example, plot subsets of tracks specified by different attr

Re: [R] track on boats

2013-10-24 Thread Michael Sumner
There are several packages for track data on CRAN and they don't all force the data to have "specific variables" beyond position, date-time, track ID. With trip you can do this easily enough, but depending on your needs adehabitatLT or move might be better. I wrote trip so I know that you can do t

Re: [R] track on boats

2013-10-24 Thread Adams, Jean
It is difficult to advise you when you don't provide reproducible data. For example, you could include the first 6 lines of your data using dput(head(mydata)) If you have GPS points stored as easting, northing, and if you have a variable that identifies the vessel, and if your data are sorte

[R] track on boats

2013-10-24 Thread Marta TobeƱa
Hi professors I'm finding the best package in R for manage a big database about vessels. I need to divided the travel of each boat into tracks. I have GPS points. I would join these points in a line on the map. I make that with the function "lines", but I can't divided by vessel or by track, I