Learn R Programming

geospt (version 0.5-0)

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

Description

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

Usage

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

Arguments

Value

returns a graph that describes the behavior of the optimized parameter eta, and a table of values associated with the graph including optimal smoothing parameter eta

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.eta=6, P.T=TRUE)

Run the code above in your browser using DataLab