RBF.phi: radial basis function evaluation

Description Usage Arguments Value Examples

Description

generate the value associated with radial basis functions; gaussian GAU), exponential (EXPON), trigonometric (TRI), thin plate spline (TPS), completely regularized spline (CRS), spline with tension (ST), inverse multiquadratic (IM), and multiquadratic (M)

Usage

1
RBF.phi(distance, eta, func)

Arguments

distance

corresponds to the Euclidean distance between two points in space

eta

the optimal smoothing parameter is found by minimizing the root-mean-square prediction errors using cross-validation

func

radial basis function model type, e.g. "GAU", "EXPON", "TRI", "TPS", "CRS", "ST", "IM" and "M", are currently available

Value

value obtained from the radial basis function generated with a distance, a sigma smoothing parameter, and a function "GAU", "EXPON", "TRI", "TPS", "CRS", "ST", "IM" or "M"

Examples

1
2
3
data(preci) 
d1 <- dist(rbind(preci[1,],preci[2,])) 
RBF.phi(distance=d1, eta=0.5, func="TPS")

geospt documentation built on May 2, 2019, 4:51 p.m.