press: Flatten coe list columns

Description Usage Arguments Value See Also Examples

View source: R/mom_coo_coe_verbs.R

Description

Take all coe list columns, prefix them with list column names and return a tidy tibble. This function is typically used for analyses, after morphometrics.

Usage

1
press(x, keep_others)

Arguments

x

mom_tbl

keep_others

logical whether to return other columns (TRUE and default') or only coe

Value

tibble::tibble

See Also

unfold for a related reshaping

Other mom verbs: pick(), slive(), unfold()

Examples

1
2
3
4
5
6
7
iris %>% mom %>% press

x <- bot %>% efourier(4)
x$coe2 <- bot$coo %>% efourier(6)
x %>% press

x %>% press(keep_others=FALSE) # eg for PCA

MomX/Momocs2 documentation built on May 13, 2020, 4:28 a.m.