trimws_to_numeric: Quite white spaces and then transform to numeric

View source: R/functions.R

trimws_to_numericR Documentation

Quite white spaces and then transform to numeric

Description

More detailed description

Usage

trimws_to_numeric(x)

Arguments

x

vector to transform to numeric

Value

numeric vector

Examples

## Not run: 
x <- c(" 12", "13 ", " 14 ")
trimws_to_numeric(x)

## End(Not run)


rumorale/Capstone documentation built on Dec. 31, 2022, 12:42 a.m.