Description Usage Arguments Value Note See Also Examples
Changes the keys of a hash from old
keys to new
1 2 3 4 |
x |
hash object to rename keys on |
old |
character (or coerciable to character); old keys/names |
new |
character (or coerciable to character); new keys/names This methods renames keys in a hash. If there is a collision between old and new names, the old names are first copied to a temporary slot to ensure
|
Invisiblly returns x
with its keys renamed.
setkeys is modeled after setnames
in the data.table package.
keys()
hash()
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.