Description Usage Arguments Value Author(s) See Also Examples
These functions create different basis objects. These objects can be used as input to complex functions in order to perform computations depending on the class of the basis function.
1 2 3 4 5 6 | create_rbf_object(M = 2, gamma = NULL, mus = NULL, eq_spaced_mus = TRUE,
whole_region = TRUE)
create_polynomial_object(M = 1)
create_fourier_object(M = 2, period = 2)
|
M |
The number of the basis functions. In case of Fourier basis, this number should be even, since we need to have pairs of sines and cosines and the constant term is added automatically. |
gamma |
Inverse width of radial basis function. |
mus |
Optional centers of the RBF. |
eq_spaced_mus |
Logical, if TRUE, equally spaced centers are created,
otherwise centers are created using |
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. |
period |
The period, that is the basis functions are periodic on a specific interval. Best choice is the Range of the points used for regression. |
A basis object of class 'rbf', 'polynomial' or 'fourier'.
C.A.Kapourani C.A.Kapourani@ed.ac.uk
1 2 3 4 5 6 7 | (obj <- create_rbf_object(M = 2))
#---------------------------------
(obj <- create_polynomial_object(M = 2))
(obj <- create_fourier_object(M = 2, period = 1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.