Learn R Programming

GSIF (version 0.5-3)

summary-methods: Summarize an object of class "SpatialPredictions"

Description

Derives a statistical summary for an object of class "SpatialPredictions".

Usage

"summary"(object)

Arguments

object
object of class "SpatialPredictions"

Value

The summary returns a data.frame with the following columns:

Details

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.

References

  • 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.

See Also

plotKML::SpatialPredictions-class

Examples

Run this code
## 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)

Run the code above in your browser using DataLab