Description Usage Arguments Details Value References Examples
Radial basis
1 | radial_basis_fun(x, int_knots, p, r = 1, theta = 2)
|
x |
A vector of a predictor variable. |
int_knots |
A vector containing the interior knots. |
p |
A value specifying the degree of the polynomial. |
theta |
OPTIONAL: A value specifying the range parameter. |
Let the i, j value of Z_p
be exp( - abs(x_i - k_j)^p / theta) and the i, j
value of Omega
be exp( - abs(k_i - k_j)^p / theta), then Z
= Z_p
is required to be able to use this matrix in the mixed model framework.
Z
A radial basis matrix dimensions = n x k where n equals the length of x
and k equals the length of int_knots
.
wand2003unequalgroupoutlier
1 | radial_basis_fun(x = c(1:9), k = c(2:4), p = 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.