get_decimal_places | R Documentation |
Get Decimal Places
get_decimal_places(column)
column |
Aggregated data frame column. |
Function to determine the number of decimal places based on column name.
Decimal place integer.
epochs_df <- data.frame(
"x.mean" = c(0.1111, 0.1222, 0.1333, 0.1444),
"y.mean" = c(0.2111, 0.2222, 0.2333, 0.2444),
"light.mean" = c(1.25, 1.73, 1.99, 2.02)
)
dp <- get_decimal_places(epochs_df[1])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.