create_design_matrix | R Documentation |
Generic function for crating a radial basis function (RBF) design matrix for input vector X.
create_design_matrix(L, X, c = 1.2)
L |
Total number of basis functions, including the bias term. |
X |
Vector of covariates |
c |
Scaling parameter for variance of RBFs |
A design matrix object H.
C.A.Kapourani C.A.Kapourani@ed.ac.uk
scmet
, scmet_differential
,
scmet_hvf_lvf
# Extract
H <- create_design_matrix(L = 4, X = scmet_dt$X)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.