Skip to Main Content
Spatial Point Patterns
book

Spatial Point Patterns

by Adrian Baddeley, Ege Rubak, Rolf Turner
November 2015
Intermediate to advanced content levelIntermediate to advanced
828 pages
33h 11m
English
Chapman and Hall/CRC
Content preview from Spatial Point Patterns
Inspecting and Exploring Data 101
Subset defined by an expression
The method subset.ppp can be used to extract a subset of a point pattern d efined by an exp ression
involving the names of spatial coord inates x, y, the marks, and the names of individual columns of
marks, if the re are several columns. For example
> subset(cells, x > 0.5 & y < 0.4)
extracts the subset of the cells data consisting of all po ints with x-coordinate greater than 0.5 and
y-coordinate less than 0.4. Note the single &, the vector-wise ‘and’ operator, so that the result of
evaluating the expression is a logical vector of length equal to the number of points. Similarly
> subset(longleaf, marks >= 42)
extracts the trees from the Longlea f Pines data with mark value greater than ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Visualization Analysis and Design

Visualization Analysis and Design

Tamara Munzner
R in Action, Third Edition

R in Action, Third Edition

Robert I. Kabacoff

Publisher Resources

ISBN: 9781482210217