[R] error in bargraph.CI {sciplot}
David Winsemius
dwinsemius at comcast.net
Fri Mar 25 06:22:58 CET 2011
On Mar 24, 2011, at 8:35 PM, barbara costa wrote:
> Hi to all,
>
> Does anybody knows why this is giving an error?
>
>
> data(ToothGrowth)
>
> # Two-way design with options
> bargraph.CI(dose, len, group = supp, data = ToothGrowth,
> xlab = "Dose", ylab = "Growth", cex.lab = 1.5, x.leg = 1,
> col = "black", angle = 45, cex.names = 1.25,
> density = c(0,20), legend = TRUE)
> Error in dn.call[[1]] : subscript out of bounds
I'm not able to reproduce. It plots a "dynamite graph" with a legend.
Have you modified `ToothGrowth in some way?
>
> It is the example on bargraph.CI function page
> http://127.0.0.1:16950/library/sciplot/html/bargraph.CI.html
That is an address on your machine. It's one redeeming virtue is that
it lets us know which package you are working with.
My machine details
MacOSX 10.5.8/R2.12.1/sciplot_1.0-7
Your turn now ....
--
David Winsemius, MD
West Hartford, CT
More information about the R-help
mailing list