xscale: Change Axis Scale: log2, log10 and more

View source: R/scale.r

xscaleR Documentation

Change Axis Scale: log2, log10 and more

Description

Change axis scale.

Usage

xscale(
  x,
  scale = c("none", "log", "log2", "log10", "scientific"),
  type = c("scale", "inv", "format"),
  format_digits = 1
)

Arguments

scale

axis scale. Allowed values are one of c("none", "log2", "log10", "sqrt", "percent", "dollar", "scientific"); e.g.: .scale="log2".

format_digits

Digits to keep while formatting

inv

Inverse value back to its original.

format

logical value. If TRUE, axis tick mark labels will be formatted when scale = "log2" or "log10".


forestploter documentation built on Sept. 24, 2023, 1:07 a.m.