Description Usage Arguments Value
Generate a dataset using a true graph and corresponding adjacency matrix
1 | gen_data(n_obs, A_true, W_true, seed = 1)
|
n_obs |
positive interge scalar, the desired number of observations. |
A_true |
binary matrix, a true adjacecny matrix from a desired graph. |
W_true |
double matrix, a true parameter matrix. |
seed |
integer for seed control, default is 1. |
a positive integer or double matrix, a dataset with the desired number of observations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.