rbf.object: Creates an RBF object

Description Usage Arguments Value See Also Examples

View source: R/basis_functions.R

Description

rbf.object creates objects of class "rbf". These objects can be used as input to complex functions in order to perform computation depending on the basis function. E.g see design_matrix generic function.

Usage

1
2
rbf.object(M = 2, gamma = NULL, mus = NULL, eq_spaced_mus = TRUE,
  whole_region = TRUE)

Arguments

M

The degree of the RBF object that will be created.

gamma

Inverse width of radial basis function.

mus

Optional centers of RBF function.

eq_spaced_mus

Logical, if TRUE, equally spaced centers are created, otherwise centers are created using kmeans algorithm.

whole_region

Logical, indicating if the centers will be evaluated equally spaced on the whole region, or between the min and max of the observation values.

Value

An object of type 'RBF'.

See Also

design_matrix

Examples

1
2
obj <- rbf.object(M=2)
(obj)

andreaskapou/mpgex documentation built on Nov. 25, 2017, 8:08 a.m.