Uses function Moran.I from the ape package to calculate the global spatial correlation of a point process with weights.
calcMoran(x, scol, mcol, ...)
a numeric matrix, with rows corresponding to objects' positions and columns as spatial coordinates.
a numeric scalar or vector that prescribes column numbers with spatial coordinates.
a numeric scalar that prescribes a column number with the measurement.
additional parameters passed to ape::Moran.I
a list with observed, expected, sd, and p-value