[R] Plotting multiple trends on one graph
Jim Lemon
jim at mail.bitwrit.com.au
Sun Nov 24 22:43:55 CET 2013
>>
>> Hello all,
>>
>> I am tracking hundreds of animals through a system with multiple timing
>> points. I want to graph the movement of individuals through the whole
>> array on one graph, but I can't figure out how to do that. An example
>> of
>> my data is below. Basically for each 'TagID', I want to graph the
>> 'date'
>> or 'gspd_mps' on the X axis and 'Station' on the Y axis, with all
>> TagID's
>> on one graph.
>>
>
Hi Natalie,
This can be done with the matplot function, but see previous posts on how
to display dates if you have trouble with that. You will probably have to
convert your dates to date objects with as.Date or strptime.
Jim
More information about the R-help
mailing list