summary.hal9001 | R Documentation |
Summary Method for HAL fit objects
## S3 method for class 'hal9001'
summary(
object,
lambda = NULL,
only_nonzero_coefs = TRUE,
include_redundant_terms = FALSE,
round_cutoffs = 3,
...
)
object |
An object of class |
lambda |
Optional |
only_nonzero_coefs |
A |
include_redundant_terms |
A |
round_cutoffs |
An |
... |
Additional arguments passed to |
Method for summarizing the coefficients of the Highly Adaptive
Lasso estimator in terms of the basis functions corresponding to covariates
and interactions of covariates, returned as a single S3 object of class
hal9001
.
Due to the nature of the basis function terms, the summary tables can be
extremely wide. The R environment might not be the optimal location to view
the summary. Tables can be exported from R to LaTeX with xtable
package (or similar). Here's an example:
print(xtable(summary(fit)$table, type = "latex"), file = "dt.tex")
.
A list summarizing a hal9001
object's coefficients.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.