ez.pasteattr | R Documentation |
paste attr to a df or vector, from a list of list, or list respectively
ez.pasteattr(x, col = NULL, attrs = NULL, ...)
x |
a data frame or a vector |
col |
evaluated by |
attrs |
a list of list ($sex $sex$label $sex$labels for df) or list ($label $labels for vector). Works fine even if the list or list of list is empty, or if list has $sex $race but df has 'sex', no 'race'
|
returns a new data frame or vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.