Description Usage Arguments Value Functions See Also Examples
View source: R/coo_modifyers.R
coo_trim_head removes the first n
coordinates from shape,
coo_trim_tail removes the last n
coordinates,
coo_trim does both.
1 2 3 4 5 | coo_trim(x, n, from_col, to_col, ...)
coo_trim_head(x, n, from_col, to_col, ...)
coo_trim_tail(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
coo_trim_head
: Trims head of shape
coo_trim_tail
: Trims tail of shape
Other coo_modifyers:
coo_align()
,
coo_baseline()
,
coo_center()
,
coo_reflect
,
coo_rev()
,
coo_rotatecenter()
,
coo_rotate()
,
coo_sample_rr()
,
coo_sample()
,
coo_scale()
,
coo_shear()
,
coo_slide()
,
coo_split()
,
coo_template()
,
coo_trans()
,
coo_up()
1 2 3 4 5 | x <- bot %>% pick(1) %>% coo_sample(12)
coo_trim(x, 5)
coo_trim_head(x, 5)
coo_trim_tail(x, 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.