View source: R/extracting_digits.R
first_digit | R Documentation |
Extract the first digit from a numeric vector
first_digit(numbers)
numbers |
Numeric vector |
Numeric vector
first_digit(c(123, 0.09, -678.9))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.