seq (0, 183, 365, 549, 732, 915, 1095)
should be
c(0, 183, 365, 549, 732, 915, 1095)

see ?seq and ?c for why.

Sarah

On Mon, Mar 29, 2010 at 2:11 PM, Euphoria <yeshapate...@gmail.com> wrote:
>
> Hi all!
>
> I keep getting the "too many arguments" error when I insert the xaxt="n",
> axis(1, at=seq (0, 183, 365, 549, 732, 915, 1095))  statement in the code
> below for a survival plot.
>
> How can I go around this issue? Is there another way for me to change the
> x-axis?
>
> Also, I would prefer the y-axis to be represented by percentages (10, 20,
> 30..) rather than decimals (.10, .20, .30...).  I can change the labels, but
> again I get the error, is there another way to solve the problem?
>
> Thanks!
>
>
-- 
Sarah Goslee
http://www.functionaldiversity.org

______________________________________________
R-help@r-project.org mailing list
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.

Reply via email to