mutate: Add new variables

View source: R/cl-handling.R

mutateR Documentation

Add new variables

Description

Add new variables to the $fac. See examples and ?dplyr::mutate.

Usage

mutate(.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(), rename(), rescale(), rm_harm(), rm_missing(), rm_uncomplete(), rw_fac(), sample_frac(), sample_n(), select(), slice(), subsetize()

Examples

olea
mutate(olea, id=factor(1:length(olea)))

MomX/Momocs documentation built on Nov. 18, 2023, 10:53 p.m.