slice: Slices (ala dplyr) on Momocs objects

Description Usage Arguments Details Value See Also Examples

View source: R/cl-handling.R

Description

Select rows by position, based on $fac. See examples and ?dplyr::slice.

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: arrange, at_least, chop, combine, dissolve, filter, mutate, rename, rm_uncomplete, rw_fac, sample_frac, sample_n, select, subset.Coo, transmute

Examples

1
2
3
4
olea
slice(olea, 1) # if you only want the coordinates, try bot[1]
slice(olea, 1:20)
slice(olea, 21:30)

Momocs documentation built on May 30, 2017, 5:23 a.m.

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