Description Usage Arguments Value See Also Examples
design_matrix.rbf
creates a design matrix H using radial
basis functions of degree M.
1 2 | ## S3 method for class 'rbf'
design_matrix(x, obs, ...)
|
x |
A basis object. |
obs |
A vector of observations. |
... |
Additional parameters |
A list containing the design matrix H
and the basis object.
The dimensions of the matrix H are Nx(M+1), where N is the length of the
observations, and M is the number of radial basis functions. The updated
basis
object contains also the updated centers of RBFs.
1 2 3 | obj <- rbf.object(M=3)
obs <- c(0,.2,.5, 0.3)
des_mat <- design_matrix(obj, obs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.