Learn R Programming

SoundexBR (version 1.1)

accent: Get rid of Accent Marks

Description

Replace lower and upper case accented letters with their counterpart without diacritical marks.

Usage

accent(x)

Arguments

x
is a data object which contains diacritical marks.

Value

  • a vector with same length of x without diacritic.

encoding

UTF-8

Details

This function can replace a variety of common marks, but not all of them. It is designed to be expanded on demand.

See Also

ascii.table.

Examples

Run this code
x <- 'Thérèse, não me julgues pela metade se não me conheces por inteiro'
accent(x)

Run the code above in your browser using DataLab