Description Usage Arguments Details Value Author(s) Examples
Test Whether it is an Absolute Unit
1 | is_abs_unit(u)
|
u |
A |
Besides the normal absolute units (e.g. "mm", "inches"), this function
simply assumes grob
objects as absolute units.
For a complex unit which is combination of different units, it is absolute only if all units included are absolute units.
A logical value.
Zuguang Gu <z.gu@dkfz.de>
1 2 3 4 | is_abs_unit(unit(1, "mm"))
is_abs_unit(unit(1, "npc"))
is_abs_unit(textGrob("foo"))
is_abs_unit(unit(1, "mm") + unit(1, "npc"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.