convert_gadget {convertr} | R Documentation |
Launch interactive conversion gadget
Description
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.
Usage
convert_gadget(vector, return_value = FALSE)
Arguments
vector |
A numeric vector to convert. You can change the vector within the app. |
return_value |
By default the gadget generates a |
Value
Insert output text into editor.
Examples
## Not run:
convert_gadget()
convert_gadget(mtcars$mpg)
## End(Not run)
[Package convertr version 0.1 Index]