"wmppp"
representing a two-dimensional point pattern with weights and labels. This is a generic method.
as.wmppp(X, ...) "as.wmppp"(X, ...) "as.wmppp"(X, window = NULL, unitname = NULL, ...)
wmppp.object
)
owin.object
).
"wmppp"
.
ppp
and data.frame
:
X
is an object of class "ppp" (ppp.object
), the marks are converted to point weights if they are numeric or to point types if they are factors. Default weights are set to 1, default types to "All". If marks are a dataframe with column names equal to PointType
and PointWeight
, they are not modified.
X
is a dataframe, see wmppp
.
wmppp.object