spatstat (version 1.34-1)

layerplotargs: Extract or Replace the Plot Arguments of a Layered Object

Description

Extracts or replaces the plot arguments of a layered object.

Usage

layerplotargs(L)

layerplotargs(L) <- value

Arguments

L
An object of class "layered" created by the function layered.
value
Replacement value. A list, with the same length as L, whose elements are lists of plot arguments.

Value

  • layerplotargs returns a list of lists of plot arguments.

    "layerplotargs<-" returns the updated object of class "layered".

Details

These commands extract or replace the plotargs in a layered object. See layered.

See Also

layered, methods.layered, [.layered.

Examples

Run this code
W <- square(2)
   L <- layered(W=W, X=cells)
   layerplotargs(L)$X <- list(pch=16)

Run the code above in your browser using DataCamp Workspace