Learn R Programming

geospt (version 0.4-9)

graph.rbf: graph that describes the behavior of the optimized parameter sigma, associated with radial basis function

Description

Function for plotting the RMSPE in several values of smoothing parameter sigma with the same dataset. A curve is plotted to the points, and then from the curve, the optimal sigma that provides the smallest RMSPE is determined by the optimize function from the stats package.

Usage

graph.rbf(z, coordinates, newdata, n.neigh, func, np, dmax, n.sigma,
P.T)

Arguments

Value

returns a graph that describes the behavior of the optimized parameter sigma

References

Johnston, K., Ver, J., Krivoruchko, K., Lucas, N., 2001. Using ArcGIS Geostatistical Analysis ESRI.

Examples

Run this code
data(preci)
graph.rbf(z=preci$prec, coordinates=preci[,2:3],n.neigh=9, func="TPS", np=40, 
    dmax=0.3, n.sigma=6, P.T=TRUE)

Run the code above in your browser using DataLab