convert_gadget | R Documentation |
It's often difficult to remember the symbol for the units you
want to convert.This gadget shows which units can be converted to one anohter,
and provides an example calculation on a sample vector
On exit you can either return a valid convert()
call or a
converted numeric vector.
convert_gadget(vector, return_value = FALSE)
vector |
A numeric vector to convert. You can change the vector within the app. |
return_value |
By default the gadget generates a |
Insert output text into editor.
## Not run: convert_gadget() convert_gadget(mtcars$mpg) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.