OpasnetUtils/Convert.units
Jump to navigation
Jump to search
Moderator:Nobody (see all) Click here to sign up. |
This page is a stub. You may improve it into a full page. |
Upload data
|
Description
A function that converts units from one to another, if possible.
Parameters
- x = a numeric vector with values to be converted
- tounit = a character vector of the new units to be used. Must be found from the To column from the table in Unit conversions.
- fromunit = a character vector or factor with the current units
Code
https://www.opasnet.org/svn/opasnet_utils/trunk/R/ConvertUnits.r