number_fun_wrapper: wrapper of the functions to process number string with prefix...

View source: R/numbers.R

number_fun_wrapperR Documentation

wrapper of the functions to process number string with prefix and suffix

Description

wrapper of the functions to process number string with prefix and suffix

Usage

number_fun_wrapper(
  x,
  fun = ~.x,
  prefix_ext = NULL,
  suffix_ext = NULL,
  verbose = FALSE
)

Arguments

x

number string vector with prefix and suffix

fun

process function

prefix_ext

prefix extension

suffix_ext

suffix extension

verbose

print more details

Value

processed number with prefix and suffix

Examples

number_fun_wrapper(">=2.134%", function(x) round(x, 2))

baizer documentation built on Oct. 19, 2023, 9:07 a.m.