[R] Plot a path

MacQueen, Don m@cqueen1 @end|ng |rom ||n|@gov
Wed Oct 31 22:45:55 CET 2018

   sort the data frame by date
  plot( mydf$geogr.longitude, mydf$geogr.latitude, type='l')

Search the web for some tutorials

See the help pages for

Don MacQueen
Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
Lab cell 925-724-7509

On 10/31/18, 2:27 PM, "R-help on behalf of Ferri Leberl" <r-help-bounces using r-project.org on behalf of ferri.leberl using gmx.at> wrote:

    Dear All,
    I have a dataframe with four cols: Date, Placename, geogr. latitude, geogr. longitude.
    How can I plot the path as a line, ordered by the date, with the longitude as the x-axis and the latitude as the y-axis?
    Thank you in advance!
    Yours, Ferri
    R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
    PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
    and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list