Description Usage Arguments Details Value See Also Examples
Overload of operator [].
1 2 | ## S3 method for class 'largeList'
x[index = NULL]
|
x |
A largeList object created by |
index |
A numeric, logical or character vector. |
It behaviours the same as a normal list object.
A list
1 2 3 4 5 | largelist_object <- getList("example.llo", truncate = TRUE)
largelist_object[[]] <- list("A" = 1, "B" = 2, "C" = 3) ## assign list to the list file
largelist_object[c(1, 2)] ## get list("A" = 1, "B" = 2)
largelist_object[c(TRUE, FALSE, TRUE)] ## get list("A" = 1, "C" = 3)
largelist_object[c("A", "C")] ## get list("A" = 1, "C" = 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.