I am doing a basic bar plot which works but the color of bars positive (green) and negative (brown) don’t show up from the below command:
barplot(z, ylim=c(-2,2), col=ifelse(x>0,"brown","green »)) any help? or other methods? asarr ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.