Description Usage Arguments Value Author(s)
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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | 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, ...)
|
... |
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 |
a new mutalist
Michael Lawrence
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.