Skip to content
Back to formatted view

Raw Message

Message-ID: <BN6PR2201MB1553583B57CE8421C1B21807CF0F9@BN6PR2201MB1553.namprd22.prod.outlook.com>
Date: 2022-03-14T16:39:41Z
From: Ebert,Timothy Aaron
Subject: Sorting boxplots
In-Reply-To: <CAE09ejeCPc=Kzm7z3gkN+bcuKGEtO9MUpTppqiNRhw+O_8Wznw@mail.gmail.com>

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&e=
PLEASE 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&e=
and provide commented, minimal, self-contained, reproducible code.