Stand.String {mau}R Documentation

Standardize strings

Description

Function to correct and standardize names, designed to eliminate special characters, spaces and other characters.

Usage

Stand.String(x, chr = NULL, rep = NULL)

Arguments

x

text to be formatted

chr

character vector of replace characters

rep

character vector of replacement characters

Value

Returns data table with definition of utility functions by range

Author(s)

Julio Andrade, Pedro Guarderas, Andrés Lopez pedro.felipe.guarderas@gmail.com

Examples

 x<-c( "H?\u00da\u00e0n with C@1_ad1", 
       "M\u00a1a/\u00ac\u00b0r&\u00eca *_the#-rot", 
       "ju%LI\u00d6 a P\u00e9rs", 
       "(S)tev\n\u00e9n\t los cat%$" )
 y<-sapply( x, FUN = Stand.String )
 names( y )<-NULL

[Package mau version 0.1.2 Index]