coo_rotate.Rd
Rotates the coordinates by a theta
angle (in radians) in
the trigonometric direction (anti-clockwise).
coo_rotate(x, theta = 0, from_col = coo, to_col = coo, ...) # S3 method for mom_tbl coo_rotate( x, theta = 0, from_col = coo, to_col = { { from_col } }, ... )
x | |
---|---|
theta |
|
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
mom_tbl
: mom_tbl method
Other coo_modifyers:
coo_align()
,
coo_baseline()
,
coo_center()
,
coo_reflect
,
coo_rev()
,
coo_rotatecenter()
,
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_rotatecenter()