abrevia_nome_meio: Abrevia o nome do meio.

Description Usage Arguments Value Examples

View source: R/text_functions.R

Description

abrevia_nome_meio return names .

Usage

1
abrevia_nome_meio(base, ..., suffixo = "_abrev")

Arguments

base

A data table, data frame or character vector.

...

columns for apply the function

suffixo

A character indicating the final part of the new columns' names

Value

the base parameter with a new column.

Examples

1
2
   base <- data.frame(nome = c("Carlos Pereira Neves", "Pedro Aparecido Anjos"))
   base <- remove_preposicao_nomes(base, "nome")

ipea/utilsIPEA documentation built on May 18, 2019, 10:14 a.m.