rus2num: Convert string with a number in Russian tradition in numeric

Description Usage Arguments Details Value Examples

View source: R/sophisthse.R

Description

This function is useful for automatic conversion of strings to numeric

Usage

1

Arguments

x

the string with the number

Details

Russian standards prescribes to use comma as a decimal separator. This function removes spaces and converts string to number.

Value

numeric the number converted from the string

Examples

1
rus2num('34 345,34')

bdemeshev/sophisthse documentation built on Sept. 3, 2021, 8:27 p.m.