[R] Plotting in R

Bert Gunter bgunter@4567 @end|ng |rom gm@||@com
Sat Jul 6 15:50:01 CEST 2019


Oh come on!

Please do your homework and spend time with some basic R tutorials, one of
which ships with R, although there are tons more good ones on the web.

And FYI, there are *several* different plotting systems that one can access
using various R packages. Probably the most basic -- but still quite
powerful -- uses the function ?plot  !!


Bert Gunter

"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )


On Sat, Jul 6, 2019 at 6:33 AM Steven Yen <styen using ntu.edu.tw> wrote:

> I have a data frame containing two variables: year and rate (shown below).
> Which function can I use to plot rate (y-axis) against year (x-axis)?
> There will be more columns of rate later on.
> Thank you.
>
> year rate 1 1993 0.608 2 1994 0.622 3 1996 0.623 4 1998 0.647 5 2000
> 0.646 6 2002 0.625 7 2004 0.628 8 2006 0.685 9 2008 0.679 10 2010 0.595
> 11 2012 0.567 12 2014 0.599 13 2016 0.642 14 2018 0.685
>
>
> --
> styen using ntu.edu.tw (S.T. Yen)
>
>
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help using 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.
>

	[[alternative HTML version deleted]]



More information about the R-help mailing list