attr | R Documentation |
base::attr with a default value instead of NULL, and always exact
attr(x, which, default_value = "", exact = TRUE)
x |
an object whose attributes are to be accessed. |
which |
a non-empty character string specifying which attribute is to be accessed. |
default_value |
value to return when object x has no attribute which |
exact |
logical: should |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.