rename: Rename columns by name

View source: R/cl-handling.R

renameR Documentation

Rename columns by name

Description

Rename variables, from the $fac. See examples and dplyr::rename.

Usage

rename(.data, ...)

Arguments

.data

a Coo, Coe, PCA object

...

comma separated list of unquoted expressions

Details

dplyr verbs are maintained.

Value

a Momocs object of the same class.

See Also

Other handling functions: arrange(), at_least(), chop(), combine(), dissolve(), fac_dispatcher(), filter(), mutate(), rescale(), rm_harm(), rm_missing(), rm_uncomplete(), rw_fac(), sample_frac(), sample_n(), select(), slice(), subsetize()

Examples

olea
rename(olea, variety=var, domesticated=domes) # rename var column


vbonhomme/Momocs documentation built on Nov. 13, 2023, 8:54 p.m.