Description Usage Arguments Value See Also Examples
Generate the RMSPE value, which is given by the radial basis function
with smoothing parameter eta
and robustness parameter rho
.
1 |
formula |
formula that defines the dependent variable as a linear model of independent variables; suppose the dependent variable has name |
data |
SpatialPointsDataFrame: should contain the dependent variable, independent variables, and coordinates. |
eta |
the optimal smoothing parameter; we recommend using the parameter found by minimizing the root-mean-square prediction errors using cross-validation |
rho |
value of optimal robustness parameter; we recommend using the parameter
found by minimizing the root-mean-square prediction errors using cross-validation.
eta and rho parameters can be optimized simultaneously, through the |
n.neigh |
number of nearest observations that should be used for a rbf prediction, where 'nearest' is defined in terms of the spatial locations |
func |
radial basis function model type, e.g. "GAU", "EXPON", "TRI", "TPS", "CRS", "ST", "IM" and "M", are currently available |
returns the RMSPE value
1 2 3 |
Loading required package: gstat
Loading required package: genalg
Loading required package: MASS
Loading required package: sp
Loading required package: minqa
[1] 7.691789
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.