On 2012-11-14 05:40, DusanP wrote:
Hello everyone,
I would like to switch the place of the Groups in the ehplot function.
When I put my data (one vector) in a certain order for the "data vector" of
ehplot function, the plot doesn't show me data in the order which I
indicated.
How to change that?
I have one vector for data and one vector for names.
This is how it looks like. I would like to have wt first, bimbid second and
bimnoxa third.
<http://r.789695.n4.nabble.com/file/n4649485/Example.png>
Thanks a lot
Dusan
You don't say how you "indicated" (to R) your preferred order.
But let's guess that 'Groups' is a factor variable and that
you have not set its levels explicitly to be what you want.
See ?levels
Peter Ehlers
--
View this message in context:
http://r.789695.n4.nabble.com/Switch-Groups-in-ehplot-x-axis-tp4649485.html
Sent from the R help mailing list archive at Nabble.com.
______________________________________________
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.
______________________________________________
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.