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
116 Spatial Point Patterns: Methodology and Applications with R
> X <- eval.im(Z + Y)
The argument of eval.im can be a ny R language expression in which the ‘variables’ are the n a mes
of pixel images. It may also involve the names of constants and functions, for example,
> eval.im(sqrt(Z))
> eval.im(sin(pi * Z))
> eval.im(Z > 3)
The exp ression can involve several images:
> eval.im(log(X) + Y - 3)
An im portant restriction is that the expression must operate ‘pixel-by -pixel’, in the sense that the
output has as many pixel values as the input:
> W <- eval.im(max(0,Z)) # Throws an error.
> W <- eval.im(pmax(0,Z)) # Works.
The first expression throws an error because it g ives a single value, whereas the second expression
gives the same number of pixel
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