mutalist {plumbr} | R Documentation |
mutalist
Description
The mutalist is a mutable list. Modifications to a mutalist occur by a reference semantic. Otherwise, it should act like an ordinary R list and provides a similar API. If anything is found missing, please inform the authors.
Usage
mutalist(...)
## S3 method for class 'mutalist'
length(x)
## S3 replacement method for class 'mutalist'
names(x, ...) <- value
## S3 method for class 'mutalist'
names(x)
## S3 method for class 'mutalist'
x[[i, j, ...]]
## S3 replacement method for class 'mutalist'
x[[i, j, ...]] <- value
## S3 replacement method for class 'mutalist'
x$name <- value
## S3 method for class 'mutalist'
x[i, j, ..., drop]
## S3 replacement method for class 'mutalist'
x[i, j, ...] <- value
## S3 method for class 'mutalist'
head(x, n = 6L, ...)
## S3 method for class 'mutalist'
tail(x, n = 6L, ...)
## S3 method for class 'mutalist'
c(x, ..., recursive = FALSE)
## S3 method for class 'mutalist'
lapply(X, FUN, ...)
## S3 method for class 'mutalist'
as.list(x, ...)
## S3 method for class 'mutalist'
as.data.frame(x, ...)
## S3 method for class 'mutalist'
unlist(x, recursive = TRUE, use.names
= TRUE)
mutalist2env(x, envir = new.env(hash, parent, size),
parent = parent.frame(), hash = FALSE, size = 29L)
## S3 method for class 'mutalist'
rev(x)
## S3 method for class 'mutalist'
rep(x, ...)
## S3 method for class 'mutalist'
print(x, ...)
Arguments
... |
elements to include in the list or arguments passed to methods |
x |
a mutalist |
value |
replacement value |
i |
element indices |
j |
unused |
name |
element name |
drop |
unused |
n |
number of elements in subset |
recursive |
whether to perform recursively |
X |
a mutalist |
FUN |
a function to apply over the elements |
use.names |
whether to preserve the names |
envir |
environment to populate |
parent |
parent for new environment, if created |
hash |
whether to hash the new environment |
size |
initial size of hash table |
Value
a new mutalist
Author(s)
Michael Lawrence
[Package plumbr version 0.6.10 Index]