Assumes that the data.frame
is the output of .SPE2df()
. Column order is important!
Arguments
- df
data.frame; with x, y coordinates, image, and categorical mark information.
Order of columns is important.
Value
ppp; object of type ppp
Examples
data(sostaSPE)
df <- .SPE2df(sostaSPE, marks = "cellType", imageCol = "imageName")
ppp <- .df2ppp(df)