Learn R Programming

JumpeR (version 0.3.0)

standard_conversion: Formatting meters lengths as feet-inches

Description

Takes a character string (or list) representing a length in meters format (e.g. "3.85m") and converts it to a distance in feet-inches ("12-07.45")

Usage

standard_conversion(x)

Arguments

x

A character vector of distance(s) in meters format ("3.85m") , to be converted to meters ("12-07.45")

Value

returns the value of the string x which represents a distance in feet-inches