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

Search the web for some tutorials

See the help pages for
   plot
   plot.default

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

On 10/31/18, 2:27 PM, "R-help on behalf of Ferri Leberl" 
<r-help-boun...@r-project.org on behalf of ferri.leb...@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@r-project.org mailing list -- To UNSUBSCRIBE and more, see
    https://stat.ethz.ch/mailman/listinfo/r-help
    PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
    and provide commented, minimal, self-contained, reproducible code.
    

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to