plumbr (version 0.6.9)

mutalist: 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 mutalist length (x)

# S3 method for mutalist names(x, ...) <- value

# S3 method for mutalist names (x)

# S3 method for mutalist [[(x, i, j, ...)

# S3 method for mutalist [[(x, i, j, ...) <- value

# S3 method for mutalist $(x, name) <- value

# S3 method for mutalist [(x, i, j, ..., drop)

# S3 method for mutalist [(x, i, j, ...) <- value

# S3 method for mutalist head (x, n = 6L, ...)

# S3 method for mutalist tail (x, n = 6L, ...)

# S3 method for mutalist c (x, ..., recursive = FALSE)

# S3 method for mutalist lapply (X, FUN, ...)

# S3 method for mutalist as.list (x, ...)

# S3 method for mutalist as.data.frame (x, ...)

# S3 method for 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 mutalist rev (x)

# S3 method for mutalist rep (x, ...)

# S3 method for 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