Description Usage Arguments Value
A function that generate discrete data set.
1 2 3 4 5 6 7 8 9 |
graph |
a |
n |
size of the data set, a scalar |
ivn, |
a list of intervention for each data point. |
n_levels, |
a list of number of levels for each node, default is binary data set. |
params, |
coefficient list (optional). |
FUN, |
a function to generate magnitude of influence (optional). |
flip, |
a bool parameter. If true, when generating coefficients, will randomly flip the sign of coefficients. |
data matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.