Set the factor levels rather than using the R default.
-----Original Message-----
From: R-help <r-help-bounces at r-project.org> On Behalf Of Fernando
Archuby
Sent: Monday, March 14, 2022 12:13 PM
To: r-help at r-project.org
Subject: [R] Sorting boxplots
[External Email]
Dear all,
By default, boxplot() sorts boxes alphabetically. How can I avoid it or set the
order I need?
Thank you!
Fernando
--
*Dr. Fernando M. Archuby*
CONICET-UNLP
Tel?fono Personal: +54-221-15-6129667.
farchuby at gmail.com
paleobiologia at gmail.com
[[alternative HTML version deleted]]
______________________________________________
R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://urldefense.proofpoint.com/v2/url?u=https-3A__stat.ethz.ch_mailman_listinfo_r-2Dhelp&d=DwIFaQ&c=sJ6xIWYx-zLMB3EPkvcnVg&r=9PEhQh2kVeAsRzsn7AkP-g&m=_24UoDO2R6yvXJTn3WtrifPdRnEwsq-2bpB8JdUmLbsGgiophXPcfcC61_oNG-d-&s=TlrAlm9McaAx0H4vRoBR4uh_jzNqFW6MtRYT8gOUYtM&ePLEASE
do read the posting guide
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.R-2Dproject.org_posting-2Dguide.html&d=DwIFaQ&c=sJ6xIWYx-zLMB3EPkvcnVg&r=9PEhQh2kVeAsRzsn7AkP-g&m=_24UoDO2R6yvXJTn3WtrifPdRnEwsq-2bpB8JdUmLbsGgiophXPcfcC61_oNG-d-&s=b7M5MrheyswcvKJsFC5NLxYkAbKP261M76oItxGpd_M&eand
provide commented, minimal, self-contained, reproducible code.