Description Usage Arguments Details Value See Also Examples
View source: R/coo_modifyers.R
Slides the coordinates so that the id-th coordinate, or a particular landmark, become the first one.
1 2 3 4 5 6 7 8 9 |
x |
coo_single, coo_list or mom_tbl |
id |
|
ldk |
|
from_col, ldk_col |
colnames from where to get the coo_list |
to_col |
colname where to set the result (default to |
... |
useless here |
For mom_tbl objects, three different flavours exist:
no ldk passed and a single id is passed: all id-th points within the shapes will become the first points.
no ldk passed and a vector of ids of nrow(x): for every shape,
the id-th point will be used as the id-th point.
a single ldk is passed: the ldk-th ldk will be used to slide every shape. If an id is (also) passed, it is ignored with a message. See examples.
ldk handling is only supported on mom_tbl objects.
a coo_single, coo_list or mom_tbl
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_split(),
coo_template(),
coo_trans(),
coo_trim(),
coo_up()
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.