Skip to contents

Set the order of the legend caption labels

Usage

setCaptionOrder(plotObject, order, name = NULL)

Arguments

plotObject

ggplot graphical object

order

numeric order of the legend caption labels

name

reference names in caption$name identifying the legend caption lines

Value

A ggplot graphical object