| coef_gen {discretecdAlgorithm} | R Documentation |
coefficient generating function
coef_gen(edge_list, n_levels = NULL, FUN = NULL, flip = TRUE)
edge_list |
a |
n_levels, |
a list of number of levels for each node. |
FUN, |
a probability distrubution to generate coefficients |
flip, |
a bool parameter. If true, will randomly flip the sign of coefficients. |
A list of coefficient matrix