Description Usage Arguments Author(s) See Also Examples
This is a generic function for getting or setting 'keys' for an object with key-value pairs such as a map data structure.
1 2 3 |
object |
An object with keys. |
value |
The value to set the keys. |
Kylie A. Bemis
1 2 3 4 | x <- sparse_mat(diag(10))
keys(x)
keys(x) <- 1:10
x[]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.