Description Usage Arguments Value See Also Examples
View source: R/coo_modifyers.R
Rotates the coordinates by a theta angle (in radians) in
the trigonometric direction (anti-clockwise) and using center as coordinates.
1 2 3 4 5 6 7 8 | coo_rotatecenter(
x,
theta = 0,
center = c(0, 0),
from_col = coo,
to_col = coo,
...
)
|
x |
coo_single, coo_list or mom_tbl |
theta |
|
center |
|
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:
coo_align(),
coo_baseline(),
coo_center(),
coo_reflect,
coo_rev(),
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_align(),
coo_rotate()
1 | x <- bot %>% pick(5) %>% coo_center() %>% coo_scale()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.