Re: [R] Adding Lines to Plot

From: <markleeds_at_verizon.net>
Date: Sun 09 Jul 2006 - 09:39:22 EST


>From: justin rapp <jdrapp@gmail.com>
>Date: Sat Jul 08 14:05:12 CDT 2006
>To: r-help@stat.math.ethz.ch
>Subject: [R] Adding Lines to Plot

i'm not definite on this and even
if it works , it;s not the most
efficient
but

abline(h=10)
abline(h=20)
abline(h=30)

etc

i'd be curious if that works on a bar plot because i don't use bar plots. someone else will answer that knows more than me. i just like to try to help out once in a while because i get soooo much help form this list.

>This seems like a question that I should be able to answer on my own
>but after looking at the documentation I cannot seem to find the
>correct method.
>
>How do I add lines to a bar plot that extend from the vertical axis?
>For example, my vertical axis is numbered in increments of 10 and I
>would like these to go across the whole graph.
>
>Also, is there a way to have R label the value of each bar so that I
>know the value of each factor that is being plotted?
>
>Thanks in advance.
>
>jdr
>
>______________________________________________
>R-help@stat.math.ethz.ch mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sun Jul 09 09:44:56 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sun 09 Jul 2006 - 12:16:20 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.