View source: R/hierarchical_random_weights.R
Generates weights in a hierarchical setting
1 2 3 4 5 6 | hierarchical_random_weights(
prior_weights,
number_vectors,
minimum_weights,
hierarchical_list
)
|
prior_weights |
Must be equal to the length of your columns, i.e. the length of the weight vectors this function will produce. |
number_vectors |
How many weight vectors to generate. |
minimum_weights |
If you want to set minimums weights. |
hierarchical_list |
List per group / category of variable:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.