Skip to contents

add X-scale

Usage

addXscale(plotObject, xscale, xscale.args = list())

Arguments

plotObject

A ggplot object on which to add the scale.

xscale

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

xscale.args

A list of arguments for the x-axis scale.

Value

The updated ggplot object