abrevia_nome_meio {utilsIPEA} | R Documentation |
Abrevia o nome do meio.
Description
abrevia_nome_meio
return names .
Usage
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
base <- data.frame(nome = c("Carlos Pereira Neves", "Pedro Aparecido Anjos"))
base <- remove_preposicao_nomes(base, "nome")
[Package utilsIPEA version 0.0.6 Index]