Skip to content
Back to formatted view

Raw Message

Message-ID: <23405072.post@talk.nabble.com>
Date: 2009-05-06T11:51:03Z
From: Ben Bolker
Subject: Plotting pairs of bars
In-Reply-To: <BAY135-W254341FA7CD7BC3D2062B688660@phx.gbl>

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.