Description Usage Arguments See Also Examples
This is a generic function which calles the appropriate methods depending
on the class of the object x
.
1 | design_matrix(x, ...)
|
x |
A basis function object. |
... |
Additional parameters. |
polynomial_basis
, rbf_basis
,
design_matrix.polynomial
, design_matrix.rbf
1 2 3 4 5 6 7 8 9 | obj <- polynomial.object(M=2)
obs <- c(0,.2,.5)
polyn <- design_matrix(obj, obs)
#----------------
obj <- rbf.object(M=2)
obs <- c(0,.2,.5)
rbf <- design_matrix(obj, obs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.