Description Usage Arguments Value Examples
isNetwork tests a graph for the SCM vs the full ghype model.
1 2 3 4 5 6 7 8 9 10 |
graph |
adjacency matrix or igraph graph |
directed |
a boolean argument specifying whether object is directed or not. |
selfloops |
a boolean argument specifying whether the model should incorporate selfloops. |
Beta |
boolean, use Beta test? default TRUE |
nempirical |
optional, number of graphs to sample from null distribution for empirical distribution. |
parallel |
optional, number of cores to use or boolean for parallel computation. If passed TRUE uses all cores-1, else uses the number of cores passed. If none passed performed not in parallel. |
returnBeta |
boolean, return estimated parameters of Beta distribution? Default FALSE. |
seed |
optional integer, seed for empirical lr.test |
p-value of test.
1 2 | data("adj_karate")
isNetwork(graph = adj_karate, directed = FALSE, selfloops = FALSE, seed=123)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.