Mendolia, Franco
2010-Aug-31 02:58 UTC
[R] Q about package Icens: change the color of the shading in plot function
Hello! I want to use the Icens package for analyzing interval-censored data. This code from the manual gives me what I want. library(Icens) data(cosmesis) csub1 <- subset(cosmesis, subset=Trt==0, select=c(L,R)) e1 <- VEM(csub1) plot(e1) However, I would like to change the color of the shading from green to something less green, say gray. Any ideas how I could do that? I looked at par, but I wasn't able to find what I need. Thanks, Franco
David Winsemius
2010-Aug-31 03:25 UTC
[R] Q about package Icens: change the color of the shading in plot function
On Aug 30, 2010, at 10:58 PM, Mendolia, Franco wrote:> Hello! > > I want to use the Icens package for analyzing interval-censored > data. This code from the manual gives me what I want. > > library(Icens) > data(cosmesis) > csub1 <- subset(cosmesis, subset=Trt==0, select=c(L,R)) > e1 <- VEM(csub1) > plot(e1) > > However, I would like to change the color of the shading from green > to something less green, say gray. Any ideas how I could do that? I > looked at par, but I wasn't able to find what I need.methods(plot) getAnywhere(plot.isurv) (The polygon calls are hard coded and do not accept col= arguments.) -- David.