[R] Time plots
oliver at first.in-berlin.de
Mon Nov 17 17:21:22 CET 2008
Lathouri, Maria <m.lathouri06 <at> imperial.ac.uk> writes:
> Until here it works fine, but I have the graph plotting only the points. What
I want is to have a line (join
> these points) so to have a time plot. I have tried different commands such as
lines(DATE,pH) or with(DF,
> lines(DATE,pH) but nothing works.
> What can I do?
This should do it.
when you look into the plot-help-pages,
then you can see a lot of plotting-types.
with type "p" it plots points (default)
with type "l" it plots lines
with type "b" it plots lines and points
More information about the R-help