height_to_mm | R Documentation |
turn any pin heights into mm, in a column named pin_height
height_to_mm(data)
data |
a data frame; must have a column named either 'height_cm' or 'height_mm' |
the original data frame, but if there was a 'height_cm' or 'height_mm' column, it is now named 'pin_height'. If original readings were in cm, they have been transformed into mm.
df <- data.frame(site = c("SET1", "SET2"), height_cm = c(15, 18))
height_to_mm(df)
df <- data.frame(site = c("SET1", "SET2"), height_mm = c(156, 182))
height_to_mm(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.