design_matrix.rbf: Creates an RBF design matrix H

Description Usage Arguments Value See Also Examples

Description

design_matrix.rbf creates a design matrix H using radial basis functions of degree M.

Usage

1
2
## S3 method for class 'rbf'
design_matrix(x, obs, ...)

Arguments

x

A basis object.

obs

A vector of observations.

...

Additional parameters

Value

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.

See Also

design_matrix, rbf_basis

Examples

1
2
3
obj <- rbf.object(M=3)
obs <- c(0,.2,.5, 0.3)
des_mat <- design_matrix(obj, obs)

andreaskapou/mpgex documentation built on May 12, 2019, 3:33 a.m.