On Jul 18, 2009, at 9:58 AM, Frank E Harrell Jr wrote:
David Winsemius wrote:
I am completely puzzled by this exchange, first because changing
the conf.int argument _does_ affect the output of plot.Design in
the expected manner, and second, because the help page of
plot.Design includes a description of conf.int as a parameter and
says its default _is_ 0.95.
She is not using plot.Design. She is using plot.summary.Design.
So Stanny did not need to change the argument to 0.95 because it is
already that value by default (per the summary.Design help page) , but
experimentation shows that she nonetheless got an error of this sort:
> plot(s, log=TRUE, at=c(.1,.5,1,1.5,2,4,8), conf.int=0.9)
Error in confbar(nbar - (i - is + 1) + 1, effect[i], se[i], q = q,
type = "h", :
unused argument(s) (conf.int = 0.9)
Note that plot.summary.Design does have a related argument called q.
--
Frank E Harrell Jr Professor and Chair School of Medicine
Department of Biostatistics Vanderbilt
University
David Winsemius, MD
Heritage Laboratories
West Hartford, CT
______________________________________________
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.