Description Usage Arguments Value See Also Examples
View source: R/coo_modifyers.R
Smooth shape coordinates using a moving average
1 | coo_smooth(x, n, from_col, to_col, ...)
|
x |
coo_single, coo_list or mom_tbl |
n |
|
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 |
a coo_single, coo_list or mom_tbl
Other coo_modifyers smooth:
coo_smooth_curve()
1 | bot %>% pick(1) %>% coo_smooth(5) %>% gg()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.