label_expfn: Label exponential format

View source: R/expfn.r

label_expfnR Documentation

Label exponential format

Description

Return functions to display exponential format expression where expfn works internally.

Usage

label_expfn(
  digits = 3,
  scale = 1,
  prefix = "",
  suffix = "",
  decimal.mark = ".",
  trim = TRUE,
  ...
)

Arguments

digits

a number of digits just before '×'. Default: 3

scale

a number to multiply x. Default: 1.

prefix

a character string to paste just before x. Default: ”.

suffix

a character string to paste just after x. Default: ”.

decimal.mark

a character string to use decimal mark, Default: '.'.

trim

Logical, if ‘FALSE’, values are right-justified to a common width (see ‘base::format()’). Default: TRUE.

...

extra arguments passed to scientific().

Details

DETAILS

Value

A function

Examples

## Not run: 
if(interactive()){
 #EXAMPLE1
 }

## End(Not run)

JK-junkin/frabento documentation built on Oct. 20, 2023, noon