summary: Summarize an object of class '"SpatialPredictions"'

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

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

Usage

1
2
## S4 method for signature 'SpatialPredictions'
summary(object)

Arguments

object

object of class "SpatialPredictions"

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.

Value

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

Author(s)

Tomislav Hengl

References

See Also

plotKML::SpatialPredictions-class

Examples

 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)

GSIF documentation built on May 2, 2019, 5:44 p.m.

Related to summary in GSIF...