secondorderprops {lacunaritycovariance} | R Documentation |
Estimate Second-Order Properties of a RACS
Description
Estimates many second order properties of RACS, gliding box lacunarity, covariance, centred covariance, and pair-correlation. This can be faster than computing estimates of multiple second order properties separately as Fourier transforms of the binary map are not repeated.
Usage
secondorderprops(
xiim,
gblargs = NULL,
covarargs = NULL,
cencovarargs = NULL,
paircorrargs = NULL,
returnrotmean = FALSE
)
Arguments
xiim |
A spatstat |
gblargs |
A list of named arguments passed to |
covarargs |
A list of named arguments passed to |
cencovarargs |
A list of named arguments passed to |
paircorrargs |
A list of named arguments passed to |
returnrotmean |
Logical. If FALSE the anisotropic estimates of covariance and pair-correlation will be returned as |
Value
A named list of estimated properties. When multiple estimators have been requested for the same property, then the entry in the list is itself a list, with each entry corresponding to a different estimator.
Warning
The user interface for this function is substantially more stretched the knowledge of the author, Kassel Hingee. Therefore, there is greater chance of encountering bugs. Kassel Hingee apologises for any bugs you encounter, and requests to be informed (thank you!).
Examples
xiim <- as.im(heather$coarse, value = TRUE,
na.replace = FALSE)
gblargs = list(boxwidths = seq(1, 10, by = 1), estimators = c("GBLemp", "GBLcc.pickaH"))
covarargs = list(estimators = "all")
cencovarargs = list(estimators = "pickaH")
paircorrargs = list(estimators = "pickaH")
returnrotmean = TRUE
secondests <- secondorderprops(xiim,
gblargs = gblargs,
covarargs = covarargs,
cencovarargs = cencovarargs,
paircorrargs = paircorrargs,
returnrotmean = FALSE)