Description
coefficient generating function
Usage
coef_gen(edge_list, n_levels = NULL, FUN = NULL, flip = TRUE)
Arguments
n_levels,
a list of number of levels for each node.
FUN,
a probability distribution to generate coefficients
flip,
a bool parameter. If true, will randomly flip the sign of coefficients.
Value
A list of coefficient matrix