Learn R Programming

Momocs (version 1.4.1)

rename: Rename columns by name

Description

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

Usage

rename(.data, ...)

Value

a Momocs object of the same class.

Arguments

.data

a Coo, Coe, PCA object

...

comma separated list of unquoted expressions

Details

dplyr verbs are maintained.

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

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

Run the code above in your browser using DataLab