Description Usage Arguments Details Value Functions See Also Examples
View source: R/coo_modifyers.R
Align shape along their longer axis using var-cov matrix and eigen values.
1 2 3 | coo_align(x, from_col = coo, to_col = coo, ...)
coo_align_xax(x, from_col, to_col, ...)
|
x |
coo_single, coo_list or mom_tbl |
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 |
(todo) For coo_align_xax: ff some shapes are upside-down
(or mirror of each others), try redefining a new starting point (eg with coo_slidedirection) before
the alignment step. This may solve your problem because coo_calliper orders the '$arr.ind“ used by
coo_aligncalliper.
a coo_single, coo_list or mom_tbl
coo_align_xax: align the longest axis of the shape along the x-axis
Other coo_modifyers:
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_trim(),
coo_up()
Other rotations:
coo_rotatecenter(),
coo_rotate()
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.