Re: [R] plot(cox.zph()): customize xlab & ylab

From: Adaikalavan Ramasamy <ramasamy_at_cancer.org.uk>
Date: Mon 11 Jul 2005 - 21:06:43 EST

I am not sure if there is an easy way around this. An ugly hack is to make a copy the function "survival:::plot.cox.zph" and make your modified function. But there are others in the list who might know neater solutions.

Regards, Adai

On Mon, 2005-07-11 at 11:10 +0100, Dan Bebber wrote:
> Hello,
>
> plot(cox.zph(my.ph),var=1,xlab="Year")
>
> gives the error:
> Error in plot.default(range(xx), yr, type = "n", xlab
> = "Time", ylab = ylab[i], : formal argument "xlab"
> matched by multiple actual arguments
>
> How can I customize the xlab and ylab for plots of
> cox.zph?
>
> Thanks,
> Dan Bebber
>
> Department of Plant Sciences
> University of Oxford
> UK
>
>
>
> ___________________________________________________________
> How much free photo storage do you get? Store your holiday
>
> ______________________________________________
> 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 Mon Jul 11 21:14:03 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:28 EST