View source: R/general_functions.R
make_filename_from_number | R Documentation |
make_filename_from_number
makes a string from a number, replacing
periods and plus signs
make_filename_from_number(x, decimal_points = 3, scientific = FALSE)
x |
numeric vector of length 1 |
decimal_points |
numeric vector of length 1. number of decimal points to round to |
scientific |
logical vector of length 1. whether to use scientific notation |
character vector of lenth 1: string suitable for use as filename
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.