Displaying 1 result from an estimated 1 matches for "lowerw".
Did you mean:
lower
2005 Apr 01
1
plotCI error when trying to omit upper or lower bars (PR#7764)
...here,
the new version of plotCI (Version: 2.0.3 of gplots) produces errors
if the upper or lower error bars should be omitted by passing NULL as
an argument. Older versions of plotCI had no problem with this. Here
is an example:
library(gplots)
means <- c(1,2,3,4,5)
upperw <- c(1,1,1,1,1)
lowerw <- c(1,1,1,1,1)
upper <- means+upperw
lower <- means-lowerw
plotCI(x=means,uiw=upperw,liw=lowerw) #Works fine
plotCI(x=means,ui=upper,li=lower) #Works fine
##Error with uiw and liw:
plotCI(x=means,uiw=NULL,liw=lowerw) #Error: subscript out of bounds
plotCI(x=means,uiw=upperw,liw=NU...