View source: R/test_hte_crump.R
| build_basis | R Documentation |
Build Polynomial Basis Matrix
build_basis(X, poly_order = 1L, include_intercept = TRUE)
X |
Numeric matrix (N x d). Must be numeric (no factors). |
poly_order |
Integer. 1 = linear, 2 = squares + interactions. |
include_intercept |
Logical. Default: TRUE. |
Numeric matrix (N x K).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.