Hello：

I use the "egonet" function and have a problem

idx <- sapply(mats,index.egonet)

idx <- as.data.frame(t(idx))

idx <- cbind(idx,filename=rownames(idx))

data <- merge(data,idx,by="filename")



cannot coerce class ""function"" to a data.frame


can someone please help me with this problm?


Thank you!!

	[[alternative HTML version deleted]]

