InitErgmTerm.graphletCount in R -


i loaded interaction data, converted adjacency matrix , converted undirected graph.

i installed packages; ergm, ergm.graphlets, statnet, etc.

when write:

initergmterm.graphletcount(gy2) 

i following error message:

error: is.directed(nw) : is.directed requires argument of class network.

i couldn't find solution in tutorial, , appreciate if clarifies this.

if you're trying graphletcount way within 'ergm()' command, follows:

ergm(gy2~graphletcount(n)) 

n can number 0 29 corresponding 30 possible graphlets exist 5 nodes. it's possible define vector 'c(1,3,5)' run graphletcount. aware n optional argument , can left blank, run 30 possible counts.

see paper on ergm.graphlets examples


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -