[R] Hmisc, Design, summary.Design plot- changing confidence intervals, adding color or decreasing font size

David Winsemius dwinsemius at comcast.net
Sat Jul 18 17:23:15 CEST 2009


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




More information about the R-help mailing list