perm.net.nl | R Documentation |
Performs node label permutations.
perm.net.nl(ldf, labels, rf = NULL, nperm, progress = TRUE)
ldf |
a list of data frames, with each data frame representing a subset of the random factors (e.g. groups and/or periods) |
labels |
a numeric or character vector representing the labels to permute. |
rf |
an integer (column id) or a string (column name) indicating the column holding the factor grouping multiple networks. |
nperm |
an integer indicating the number of permutations wanted. |
progress |
a boolean indicating the visualization of the permutation process. |
Node label permutations for GLMM models need to permute labels within a control factor.
A list of data frames. Each data frame is the merger of the input lists of data frames. The first element of the list is the original input data, the other elements are the different permutations.
Sebastian Sosa, Ivan Puga-Gonzalez.
Croft, D. P., James, R., & Krause, J. (2008). Exploring animal social networks. Princeton University Press.
Croft, D. P., Madden, J. R., Franks, D. W., & James, R. (2011). Hypothesis testing in animal social networks. Trends in Ecology & Evolution, 26(10), 502-507.
Sosa, S. (2018). Social Network Analysis, in: Encyclopedia of Animal Cognition and Behavior. Springer.
df=met.strength(sim.m,df=sim.df)
t=perm.net.nl(df,labels='sex',rf=NULL,nperm=1000,progress=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.