Extract.splitppp {spatstat} | R Documentation |
Extract or replace some of the sub-patterns in a split point pattern.
## S3 method for class 'splitppp' x[...] ## S3 replacement method for class 'splitppp' x[...] <- value
x |
An object of class |
... |
Subset index. Any valid subset index in the usual R sense. |
value |
Replacement value for the subset. A list of point patterns. |
These are subset methods for the class "splitppp"
.
The argument x
should be an object of class "splitppp"
,
representing a point pattern that has been separated into a
list of sub-patterns. It is created by split.ppp
.
The methods extract or replace a designated
subset of the list x
, and return an object of class "splitppp"
.
Another object of class "splitppp"
.
Adrian Baddeley Adrian.Baddeley@csiro.au http://www.maths.uwa.edu.au/~adrian/ and Rolf Turner r.turner@auckland.ac.nz
split.ppp
,
plot.splitppp
,
summary.splitppp
data(amacrine) # multitype point pattern y <- split(amacrine) y[1] y["off"] y[1] <- list(runifpoint(42, amacrine$window))