Construct a set of local basis functions based on pre-specified location and scale parameters.
local_basis( manifold = sphere(), loc = matrix(c(1,0), nrow =1), scale =1, type = c("bisquare","Gaussian","exp","Matern32"), res =1, regular =FALSE)radial_basis( manifold = sphere(), loc = matrix(c(1,0), nrow =1), scale =1, type = c("bisquare","Gaussian","exp","Matern32"))
Arguments
manifold: object of class manifold, for example, sphere
loc: a matrix of size n by dimensions(manifold) indicating centres of basis functions
scale: vector of length n containing the scale parameters of the basis functions; see details
type: either "bisquare", "Gaussian", "exp", or "Matern32"
res: vector of length n containing the resolutions of the basis functions
regular: logical indicating if the basis functions (of each resolution) are in a regular grid
Details
This functions lays out local basis functions in a domain of interest based on pre-specified location and scale parameters. If type is ``bisquare'', then