I thought I had an answer until I saw you already had version 1.5.1 of
plyr. That fixed a bug in plyr::rename which could have caused it.
I can not reproduce the problem myself:
library("ggplot2")
library("Hmisc")
set.seed(42)
mydata <- sample(20, 100, replace=TRUE)
median_hilow(mydata, conf.int=0.8)
median_hilow(mydata)
On both 2.12.2 and 2.13.0 (sessionInfo below, but same version numbers
of packages that you list), I get:
> median_hilow(mydata, conf.int=0.8)
y ymin ymax
1 11.5 2 19
> median_hilow(mydata)
y ymin ymax
1 11.5 1 20
Can you give a fully reproducible example with sessionInfo()?
R version 2.12.2 (2011-02-25)
Platform: x86_64-pc-mingw32/x64 (64-bit)
locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] splines grid stats graphics grDevices utils datasets
[8] methods base
other attached packages:
[1] Hmisc_3.8-3 survival_2.36-5 ggplot2_0.8.9 proto_0.3-9.1
[5] reshape_0.8.4 plyr_1.5.1
loaded via a namespace (and not attached):
[1] cluster_1.13.3 lattice_0.19-23
R version 2.13.0 (2011-04-13)
Platform: x86_64-pc-mingw32/x64 (64-bit)
locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] splines grid stats graphics grDevices utils datasets
[8] methods base
other attached packages:
[1] Hmisc_3.8-3 survival_2.36-8 ggplot2_0.8.9 proto_0.3-9.1
[5] reshape_0.8.4 plyr_1.5.1
loaded via a namespace (and not attached):
[1] cluster_1.13.3 lattice_0.19-23
--
Brian S. Diggs, PhD
Senior Research Associate, Department of Surgery
Oregon Health & Science University