I would like to compare three networks with the same number of nodes. The three networks G1,G2 & G3 have been created using iGraph, and I have transferred them into network objects, which should be recognizable by SNA. However, when I tried to do a QAP test, I kept coming across the error message: Error in fun(dat, ...) : unused arguments (u2 = 1, u3 = 2). Can anybody help me find the issue? Thanks so much! I'm attaching my code and error message below:
library(intergraph)
library(sna)
u1 <- asNetwork(G1)
u2 <- asNetwork(G2)
u3 <- asNetwork(G3)
qaptest(list(u1, u2, u3), gcor, u2 = 1, u3 = 2)
Error in fun(dat, ...) : unused arguments (u2 = 1, u3 = 2)