Learn R Programming

Momocs (version 1.1.6)

rename: Renames (ala dplyr) on Momocs objects

Description

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

Usage

rename(.data, ...)

Arguments

.data
a Coo, Coe, PCA object
...
comma separated list of unquoted expressions

Value

a Momocs object of the same class.

Details

dplyr verbs are maintained.

See Also

Other handling functions: arrange, at_least, chop, combine, dissolve, filter, mutate, rm_uncomplete, rw_fac, sample_frac, sample_n, select, slice, subset.Coo, transmute

Examples

Run this code
olea
rename(olea, Ind=ind, View=view)

Run the code above in your browser using DataLab