[R] Break in the y-axis

Jim Lemon jim at bitwrit.com.au
Wed Jul 7 13:08:50 CEST 2010


On 07/07/2010 02:39 AM, beloitstudent wrote:
>
> Thanks for the advice!  It has worked for the most part.  However, I am
> still coming up with an error message when placing my break line in the axis
> that I'm not sure what it means.  If you could help me out, that would be
> fantastic...otherwise I might just have to see if I can add it on
> powerpoint.  Here is the code you gave me and my script that doesn't work.
>...
> axis.break(axis=2, breakpos=50,style="slash",pos="-20",brw=0.02)*

This line should be:

axis.break(axis=2, breakpos=50,style="slash",pos=-20,brw=0.02)

That is, you have passed a character string instead of a number.

Jim



More information about the R-help mailing list