Thanks for your detailed explanation.
You are right, a set of boxplots done with bwplot
is a much better graphic for this type of data:
bwplot(V1~VAR|f,data=datos2)
This was not a good example. The barplot would be suited
for counts, ie. species composition:
datos4 -
On Mar 28, 2008, at 2:42 AM, Agustin Lobo wrote:
Thanks for your detailed explanation.
You are right, a set of boxplots done with bwplot
is a much better graphic for this type of data:
bwplot(V1~VAR|f,data=datos2)
This was not a good example. The barplot would be suited
for counts, ie.
On Fri, Mar 28, 2008 at 1:42 AM, Agustin Lobo [EMAIL PROTECTED] wrote:
Thanks for your detailed explanation.
You are right, a set of boxplots done with bwplot
is a much better graphic for this type of data:
bwplot(V1~VAR|f,data=datos2)
This was not a good example. The barplot would be
On 3/26/08, Agustin Lobo [EMAIL PROTECTED] wrote:
Dear list,
Is there any way of making barplots as a Trellis graphic?
Yes, the function to use is 'barchart'.
-Deepayan
__
R-help@r-project.org mailing list
Thanks, it was a matter of reshaping the data matrix as I usually have
it, ie:
datos -
data.frame(x=abs(round(rnorm(100,10,5))),y=abs(round(rnorm(100,2,1))),f=factor(round(runif(100,1,3
to become:
datos2 -
On Mar 27, 2008, at 1:47 PM, Agustin Lobo wrote:
Thanks, it was a matter of reshaping the data matrix as I usually have
it, ie:
datos -
data.frame(x=abs(round(rnorm(100,10,5))),y=abs(round(rnorm
(100,2,1))),f=factor(round(runif(100,1,3
to become:
datos2 -
In the code of my previous message
the barplot should be:
barplot(apply(sel[,-1],2,mean))
instead of
barplot(sel)
Sorry for the confusion.
Agus
Mensaje original
Asunto: barplot as Trellis graphic
Fecha: Wed, 26 Mar 2008 22:24:04 +0100
De: Agustin Lobo [EMAIL PROTECTED]
7 matches
Mail list logo