[R] Plotting pairs of bars

Ben Bolker bolker at ufl.edu
Wed May 6 13:51:03 CEST 2009




Steve Murray-3 wrote:
> 
> 
> Jim and all,
> 
> Thanks for the suggestion, however, I get the following error:
> 
>> barplot(t(combine86[,1:2], beside = TRUE, las = 1))
> Error in t(combine86[, 1:2], beside = TRUE, las = 1) : 
>   unused argument(s) (beside = TRUE, las = 1)
> 
> I've looked up ?t and cannot see any extra arguments that I should be
> including, and the executes without the 't'.
> 
> What is it that I've omitted that I need to successfully execute the code
> (as previously described)?
> 

Just misplaced parentheses:

barplot(t(combine86[,1:2]),beside=TRUE,las=1)

-- 
View this message in context: http://www.nabble.com/Plotting-pairs-of-bars-tp23390374p23405072.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list