labels_rep: labels_rep

Description Usage Arguments Value

View source: R/GGPlot2Tools_LabelsRep.R

Description

labels_rep

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
labels_rep(
  labels,
  norm_range = c(-2, 2),
  is_tex = FALSE,
  exp_dig_plc = 0,
  omit_ones = TRUE,
  every = 1,
  same_digit_count = FALSE
)

LabelsRep(...)

Arguments

labels

Input numeric vector.

norm_range

Range within which the numers are represented without exponential notation (fixed).

is_tex

If TRUE, writes output as TeX compatible strings, otherwiase, uses expression.

exp_dig_plc

How many digits should be left in the exponential notation.

omit_ones

If TRUE, all powers of 10 are written without leading 1

every

Samples labels. All other labels, except every every one are empty strings. Works good when there is no space to put all the labels.

same_digit_count

If TRUE, enforces same amount of dec. digits across all items.

...

Parameter list

Value

Textual represntation of the numeric vector.


Ilia-Kosenkov/RLibs documentation built on Jan. 26, 2020, 2:21 p.m.