Learn R Programming

fields (version 1.7.2)

predict.surface.se: Standard errors of predictions

Description

Evaluates the standard error of predictions on a surface.

Usage

predict.surface.se(out, grid.list=NA, extrap=FALSE, chull.mask,...)

Arguments

Value

A surface object with components A vector of standard errors for the predicted values.

Details

This function is generic and will call the appropriate function to calculate the standard errors for the object class. It operation is simple a grid is created based on the grid list or from the fit object. The prediction standard error are evaluated on the grid using predict.se. Finally the standard errors are reformed into a surface object suitable for plotting.

See Also

predict, predict.surface, predict.se.Krig, plot.surface, as.surface

Examples

Run this code
fit<-Tps(ozone$x,ozone$y)                # tps fit 
out<- predict.surface.se( fit)

surface( out)

# or ... 

image.plot( out)

Run the code above in your browser using DataLab