Learn R Programming

baizer (version 0.8.0)

number_fun_wrapper: 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
)

Value

processed number with prefix and suffix

Arguments

x

number string vector with prefix and suffix

fun

process function

prefix_ext

prefix extension

suffix_ext

suffix extension

verbose

print more details

Examples

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

Run the code above in your browser using DataLab