.getSubscript | R Documentation |
Based on available list element names and subscript value determine index of the element requested
.getSubscript(lst, i)
lst |
list to search subscript for |
i |
character or numeric to determine final list index |
numeric index of the requested element in the list
l = list(a="a", b="b")
.getSubscript(l, 1) == .getSubscript(l, "a")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.