Learn R Programming

plotKML (version 0.5-8)

SpatialPredictions-class: A class for spatial predictions produced using gstat package

Description

A class containing input and output maps generated through the process of geostatistical mapping. Object of this class can be directly visualized in Google Earth by using the plotKML-method.

Arguments

Slots

variable:

object of class "character"; variable name

observed:

object of class "SpatialPointsDataFrame" (must be 2D); see sp::SpatialPointsDataFrame

regModel.summary:

contains the summary of the regression model

vgmModel:

object of class "data.frame"; contains the variogram parameters passed from gstat

predicted:

object of class "SpatialPixelsDataFrame"; see sp::SpatialPixelsDataFrame

validation:

object of class "SpatialPointsDataFrame" containing results of validation

Methods

plot

signature(x = "SpatialPredictions"): spatial predictions, regression model (observed vs predicted), original variogram and variogram for residuals

plotKML

signature(obj = "SpatialPredictions"): plots all objects in Google Earth

summary

signature(obj = "SpatialPredictions"): summarize object by showing the mapping accuracy (cross-validation) and the amount of variation explained by the model

References

See Also

plotKML-method, GSIF::fit.gstatModel, gstat::gstat-class, RasterBrickSimulations-class