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
24 Spatial Point Patterns: Methodology and Applications with R
[[1]]
[1] "Tuesday" "Friday"
[[2]]
[1] 3 4 5 6 7
[[3]]
[1] FALSE TRUE
The key fact is that lists are vectors. Consequently all of the extraction pr ocedures described above
are applicable when x is a list. The subset operator [ ] applied to a list will always retur n a list
(because a subset of a list is another list). If for example x is a list (having length at least 6) then
x[c(2,4,6)] is a list of length 3, i.e. havin g 3 compon ents. Notice in particular that if the length of
the index vector s is 1, then what we get from x[s] is a list of length 1. For example, b[2] will
return the list, of length 1, whose first (and only) entry is the vector 3:7.
If you want to get at the object constituting ...
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