comment | R Documentation |
"comment"
AttributeThese functions set and query a comment
attribute for any R objects. This is typically useful for
data.frame
s or model fits.
Contrary to other attributes
, the comment
is not
printed (by print
or print.default
).
Assigning NULL
or a zero-length character vector removes the
comment.
comment(x) comment(x) <- value
x |
any R object |
value |
a |
attributes
and attr
for other attributes.
x <- matrix(1:12, 3, 4) comment(x) <- c("This is my very important data from experiment #0234", "Jun 5, 1998") x comment(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.