View source: R/formula_hal9001.R
h | R Documentation |
HAL Formula term: Generate a single term of the HAL basis
h(
...,
k = NULL,
s = NULL,
pf = 1,
monotone = c("none", "i", "d"),
. = NULL,
dot_args_as_string = FALSE,
X = NULL
)
... |
Variables for which to generate multivariate interaction basis
function where the variables can be found in a matrix |
k |
The number of knots for each univariate basis function used to
generate the tensor product basis functions. If a single value then this
value is used for the univariate basis functions for each variable.
Otherwise, this should be a variable named list that specifies for each
variable how many knots points should be used.
|
s |
The |
pf |
A |
monotone |
Whether the basis functions should enforce monotonicity of
the interaction term. If |
. |
Just like with |
dot_args_as_string |
Whether the arguments |
X |
An optional design matrix where the variables given in |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.