measureWeighted | R Documentation |
Given a measure m
(object of class "msr"
)
and a spatially-varying weight function, construct the
weighted version of m
.
measureWeighted(m, w)
m |
A measure (object of class |
w |
A pixel image (object of class |
For any region of space B
,
the weighted measure wm
has the value
wm(B) = \int_B w(x) dm(x)
In any small region of space, the increment of the
weighted measure wm
is equal to the increment of the
original measure m
multiplied by the weight w
at that
location.
Another measure (object of class "msr"
)
on the same spatial domain.
.
Halmos, P.R. (1950) Measure Theory. Van Nostrand.
msr
, with.msr
, split.msr
,
measurePositive
fit <- ppm(cells ~ x)
res <- residuals(fit)
measureWeighted(res, function(x,y){x})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.