[R] Using key.opts in Ecdf/labcurve (Hmisc package)

Richard.Cotton at hsl.gov.uk Richard.Cotton at hsl.gov.uk
Fri Oct 17 16:45:09 CEST 2008

I'm presumably missing something very obvious, but how does one use the 
key.opts argument in labcurve (via Ecdf)?

In this example, I want the key to be big and have a blue background, but 
it isn't and doesn't.

ch <- rnorm(1000, 200, 40)
sex <- factor(sample(c('female','male'), 1000, TRUE))
Ecdf(~ch, group=sex, label.curves=list(keys=c("f", "m"), 
key.opts=list(cex=3, background="blue")))


Mathematical Sciences Unit


This message contains privileged and confidential inform...{{dropped:20}}

More information about the R-help mailing list