Description Usage Arguments Value Examples
Calculate diameter from different variables
1 | getdiameter(variable = c("radius", "diameter", "circumference")[1], value)
|
variable |
A character with name of variable supplied |
value |
A numeric vector corresponds to the variable name |
Diameter calculated from supplied variable
1 2 | diameter <- getdiameter("area", pi)
diameters <- getdiameter("radius", 1:10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.