Calculate information criteria for point process models, using a fitted
model and optionally new data. The interface is still under development
and may change without warning in future versions.
Arguments
- fit
- data
A data frame containing the observed points, with columns for coordinates and any covariates used in the model. The data frame may also include a column named
.blockthat indicates the block membership of each point, if blockwise criteria are to be calculated.- predictor
An expression that evaluates to the linear predictor of the model, given the data. This should be an expression that can be evaluated in the context of the data frame and model components, just as in the
formulaargument ofbru_obs()andlgcp().- domain, samplers
Arguments defining the integration domain(s) and sampling regions, as for
bru_obs()andlgcp().- n.samples
Integer. The number of posterior samples to draw for estimating the criteria. Default is 2000.