Description Usage Arguments Value Methods (by class) See Also Examples
View source: R/coo_modifyers.R
Centers shape and scale them so that they are inscribed in a size
-side square.
1 2 3 4 5 6 7 8 9 10 11 12 13 | coo_template(x, size = 1, from_col, to_col, ...)
## S3 method for class 'coo_list'
coo_template(x, size = 1, ...)
## S3 method for class 'mom_tbl'
coo_template(
x,
size = 1,
from_col = coo,
to_col = { { from_col } },
...
)
|
x |
coo_single, coo_list or mom_tbl |
size |
|
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_list
: list method
mom_tbl
: mom_tbl method
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_trans()
,
coo_trim()
,
coo_up()
Other scalings:
coo_scale()
1 2 | bot %>% pick(1) %>% coo_template() %>% gg()
bot %>% coo_template %>% pile()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.