get_integerize_function: Get function to use when converting numeric values to...

get_integerize_functionR Documentation

Get function to use when converting numeric values to integers

Description

Many computations return floating point numbers that need to be passed to other routines as integers. The method used to convert them to integers may affect the outcome of the downstream operation, so this function looks up which function to use based on the user's specification in the parameter inputs.

Usage

get_integerize_function(integerize_string = "round")

Arguments

integerize_string

string containing name of the function to use to convert floats to integers

Value

Returns function to use to convert floats to integers

Examples

get_integerize_function ("ceiling")


langfob/bdpg documentation built on Dec. 8, 2022, 5:33 a.m.