View source: R/permutation_test.R
Create permuted samples to calculate p-value
1 2 3 |
object |
A formula object of the form (network object) ~ <model terms>. Model terms take the same form of ERGM terms from R package 'ergm'. |
networks |
A list of observed networks. It should have a list() object. |
attr |
A list of vertex attributes. Default is NULL. (i.e. No attributes) |
teststat |
Test statistic calculated based on observed networks |
directed |
TRUE for analyzing directed networks. FALSE for analyzing undirected networks. |
degree.spline |
Degree of splines. Default is 3 (cubic splines). |
interior.knot |
Number of interior knots to create splines. Default is 10. |
lambda.range |
Range of lambda (Tuning parameter). Default is seq(-3, 3, by = 0.1). |
NPerm |
Number of permuted samples. Default is 100. |
seed |
Seed number used to simulate bootstrap samples. Default is 12345. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.