Difference between revisions of "OpasnetUtils/Convert.units"

From Testiwiki
Jump to: navigation, search
(Created page with "Category:Opasnet Category:R tools {{method|moderator=|stub=Yes}} ==Description== A function that converts units from one to another, if possible. ==Parameters== * x ...")
 
m
Line 1: Line 1:
 
[[Category:Opasnet]]
 
[[Category:Opasnet]]
 
[[Category:R tools]]
 
[[Category:R tools]]
 +
[[Category:OpasnetUtils]]
 
{{method|moderator=|stub=Yes}}
 
{{method|moderator=|stub=Yes}}
  

Revision as of 06:37, 15 June 2012



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

+ Show code

See also