add_key | R Documentation |
This function creates a mapping from parent observations to it's descendants (which useful for merging/joining tables).
Either an existing value in the parent observation can be recycle
d to it's descendants or a new column
will be created (if recycle
is missing).
add_key(obs, parent, recycle, key.name, quiet = FALSE)
obs |
list. Should be the output from listsToObs. |
parent |
character string. Should be present in the names of |
recycle |
character string that matches a variable name among |
key.name |
The desired column name of the newly generated key. |
quiet |
logical. Include message about the keys being generated? |
A list of observations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.