check_trans_func: Check the transformation and inverse transformation...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/check_trans_func.R

Description

Check the transformation and inverse transformation functions.

Usage

1
2
3
4
5
6
check_trans_func(
  trans_func_char = c("log", "Identity", "sqrt", "cube_root"),
  inv_func_char = c("exp", "Identity", "square", "cube"),
  test_func_x = 1:10,
  TOLERANCE = 1e-06
)

Arguments

trans_func_char

character with transformation name.

inv_func_char

character with inverse name.

test_func_x

numeric values at which to check inverse.

TOLERANCE

numeric tolerance for agreement of inverted values.

Value

a list with the transformation and inverse transformation functions.

Author(s)

Bill Forrest forrest@gene.com

See Also

character

Examples

1
2
3
 out <- maeve:::check_trans_func( 'log', 'exp' )
 
 

wfforrest/maeve documentation built on Jan. 1, 2021, 12:47 p.m.