Extract.listof

0th

Percentile

Extract or Replace Subset of a List of Things

Replace a subset of a list of things.

Keywords
manip, spatial
Usage
## S3 method for class 'listof':
[(x, i) <- value
Arguments
x
An object of class "listof" representing a list of things which all belong to one class.
i
Subset index. Any valid subset index in the usual Rsense.
value
Replacement value for the subset.
Details

This is a subset replacement method for the class "listof".

The argument x should be an object of class "listof" representing a list of things that all belong to one class.

The method replaces a designated subset of x, and returns an object of class "listof".

Value

  • Another object of class "listof".

See Also

plot.listof, summary.listof

Aliases
  • [<-.listof
Examples
x <- list(A=runif(10), B=runif(10), C=runif(10))
   class(x) <- c("listof", class(x))
   x[1] <- list(A=rnorm(10))
Documentation reproduced from package spatstat, version 1.16-3, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.