coo_smooth_curve: Smooth shapes but preserve tips

Description Usage Arguments Value See Also Examples

View source: R/coo_modifyers.R

Description

coo_smooth variant that preserves coordinates of first and alst points. Typically useful for curves

Usage

1
coo_smooth_curve(x, n, from_col, to_col, ...)

Arguments

x

coo_single, coo_list or mom_tbl

n

integer smoothing iterations

from_col

colnames from where to get the coo_list and how to name the resulting one (only for mom_tbl method)

to_col

colnames from where to get the coo_list and how to name the resulting one (only for mom_tbl method)

...

useless here

Value

a coo_single, coo_list or mom_tbl

See Also

Other coo_modifyers smooth: coo_smooth()

Examples

1
bot %>% pick(1) #todo

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