View source: R/create_penalty.R
create_penalty | R Documentation |
Create penalty matrix (list of F)
create_penalty(
factor_levels,
make_interactions,
weight_dlist,
ordered_factors,
treatment_probs = NULL
)
factor_levels |
A list with the levels of each factor |
treatment_probs |
A list with the levels of each factor and the probability of treatment assignment |
A list of penalty matrices (F) used for sparsification
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.