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

______________________________________________
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.

Reply via email to