get_integerize_function | R Documentation |
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.
get_integerize_function(integerize_string = "round")
integerize_string |
string containing name of the function to use to convert floats to integers |
Returns function to use to convert floats to integers
get_integerize_function ("ceiling")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.