[R] track on boats
macqueen1 at llnl.gov
Thu Oct 24 23:08:33 CEST 2013
A good choice might be to store your data in objects of class
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 attributes.
SpatialLinesDataFrame objects are defined in the sp package.
For further help, I would suggest the r-sig-geo mailing list. Also look at
the CRAN Task View "Spatial".
Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
On 10/24/13 2:40 AM, "Marta Tobeña" <marta_mtm at hotmail.com> wrote:
>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
>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 saw several packages, for tracking animals but they had specifically
>variables. And I don't add others like "type","destination" or "status".
>Can you give me a suggestion, please
> [[alternative HTML version deleted]]
>R-help at r-project.org mailing list
>PLEASE do read the posting guide
>and provide commented, minimal, self-contained, reproducible code.
More information about the R-help