formatScientificMinimumDigits | R Documentation |
Function factory to be used to specify the minimum number of digits to be used in numbers when using scientific notation
formatScientificMinimumDigits(digits)
digits |
integer value that specifies the number of digits to be used by the resulting function |
a function that will take a numeric vector as an argument and returns a character vector of the numeric vector in scientific format with the set number of digits (see ?formatC for more info)
this is more or less an example of a function to be used to specify axis-label formats with the function graphAdjust(). More complex functions are possible
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.