Description Usage Arguments Details Value Author(s) References See Also Examples
Derives a statistical summary for an object of class "SpatialPredictions"
.
1 2 | ## S4 method for signature 'SpatialPredictions'
summary(object)
|
object |
object of class |
The function creates a summary table with standard column names. These tell us what is the summary accuracy of the spatial predictions and what are the effective bytes of information produced.
The summary returns a data.frame with the following columns:
"variable"
variable name
"minium"
lowest value observed
"maximum"
largest value observed
"npoints"
number of observations
"area"
lowest value observed
"area.units"
area units either square-m or square-arcdegrees
"covariates"
list of covariates used
"family"
GLM family (if applicable)
"RMSE"
RMSE derived using cross-validation
"tvar"
variance percent explained by the model using the cross-validation
"npixels"
total number of produced pixels
"breaks"
breaks based on the half RMSE
"bonds"
lower and upper boundaries for effective classes
"Bytes"
effective bytes produced (see Hengl et al (2012) for more details)
"compress"
compression algorithm used
Tomislav Hengl
Hengl, T., Nikolic, M., MacMillan, R.A., (2013) Mapping efficiency and information content. International Journal of Applied Earth Observation and Geoinformation, special issue Spatial Statistics Conference, 22: 127–138.
plotKML::SpatialPredictions-class
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## load observations:
library(sp)
library(rgdal)
library(gstat)
demo(meuse, echo=FALSE)
## fit a model:
omm <- fit.gstatModel(meuse, om~dist,
fit.family=gaussian(link="log"), meuse.grid)
show(omm@regModel)
## produce SpatialPredictions:
om.rk <- predict(omm, predictionLocations = meuse.grid)
x = summary(om.rk)
str(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.