arrange: Arranges (ala dplyr) on Momocs objects

Description Usage Arguments Details Value See Also Examples

Description

Arange shapes by variables, from the $fac. See examples and ?dplyr::arrange.

Usage

1

Arguments

.data

a Coo, Coe, PCA object

...

logical conditions

Details

dplyr verbs are maintained.

Value

a Momocs object of the same class.

See Also

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

Examples

1
2
3
4
5
olea
# we create a new column
olea %>% mutate(id=1:length(.)) %$% fac$id
# same but now, shapes are arranged in a desc order, based on id
olea %>% mutate(id=1:length(.)) %>% arrange(desc(id)) %$% fac$id


Search within the Momocs package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.