drawAxis: Deprecated: use 'ggplot2::ggplot() +...

View source: R/functions.R

drawAxisR Documentation

Deprecated: use ggplot2::ggplot() + ggplot2::scale_x|y_continuous(...) instead.

Description

Deprecated: use ggplot2::ggplot() + ggplot2::scale_x|y_continuous(...) instead.

Usage

drawAxis(
  graph = NULL,
  xName = waiver(),
  yName = waiver(),
  breaks = waiver(),
  xBreaks = waiver(),
  yBreaks = waiver(),
  dat = NULL,
  xLabels = waiver(),
  yLabels = waiver(),
  xLimits = waiver(),
  yLimits = waiver(),
  force = FALSE,
  secondaryXaxis = waiver(),
  secondaryYaxis = waiver(),
  xTrans = "identity",
  yTrans = "identity"
)

Arguments

graph

ggplot object.

xName

name for x-axis.

yName

name for y-axis.

breaks

a list with $xBreaks and $yBreaks or waiver().

xBreaks

x-axis breaks.

yBreaks

y-axis breaks.

dat

data.frame.

xLabels

labels for x-axis.

yLabels

labels for y-axis.

xLimits

limits for x-axis.

yLimits

limits for y-axis.

force

force the axes to be present at the cost of drawing an invisible geom.

secondaryXaxis

secondary x-axis.

secondaryYaxis

secondary y-axis.

xTrans

transformation function for the x-axis.

yTrans

transformation function for the y-axis.


jasp-stats/jaspGraphs documentation built on April 20, 2024, 4:13 p.m.