Metconnection <simontbate <at> hotmail.co.uk> writes:

> 
> 
> Hi there, 
> I wonder if anyone can help me. I'm trying to use bargraph.CI in the Sciplot
> package when there is a missing combination of the factor levels.
> Unfortunately the standard errors on the plot do not appear to be correct. 
> 
...
 
> but when I remove a combination of the two factors the error whiskers appear
> to be on the wrong bars:
> 
> #excluding one combination
> response<-c(34,65,65,45,54,23,43,23,76,87,65,45)
> factorA<-c("A","A","A","A","B","B","B","B","B","B","B","B")
> factorB<-c("b","b","b","b","a","a","a","a","b","b","b","b")
> data<-data.frame(response,factorA,factorB)
> bargraph.CI(x.factor = data$factorB,data$response, group=data$factorA,
> legend=TRUE)
> 

This is a bug you should report to the author. Standard R-wisdom would
be not to use this type of plot. But I know that big bosses love it,
because it shows more ink. One day, even Deepayan gave up and posted:

http://markmail.org/message/7lxmnvimcgvkulmw

Dieter

______________________________________________
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