reorder_within: Reorder labels

reorder_withinR Documentation

Reorder labels

Description

This function reorder labels in a ggplot2 barplot figure with facets (see examples)

Usage

reorder_within(x, by, within, fun = mean, sep = "___", ...)

Arguments

x

the name of the variable that need to be ordered

by

the name of the variable that will be used to order x

within

the name of the variable used to create the facets

fun

(not used)

sep

default variable to manipulate the labels. Default "__"

...

additional parameter...


DiogoFerrari/edar documentation built on May 8, 2022, 8:26 a.m.