Skip to contents

add X-scale

Usage

addXScale(plotObject, xScale, xScaleArgs = list())

Arguments

plotObject

A ggplot object on which to add the scale.

xScale

The x-axis scale type. Available is 'linear', 'log', 'discrete'

xScaleArgs

A list of arguments for the x-axis scale.

Value

The updated ggplot object