igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] using qaptest


From: Abby Rudolph
Subject: [igraph] using qaptest
Date: Thu, 6 Jun 2013 12:58:55 -0400

Hello,

 

I created a graph, g

g<-graph.data.frame(pair, dir=FALSE, vertices=NULL)

 

which is in the format

V1           V2           edge_attribute_1            edge_attribute_2            …             …             edge_attribute_i

 

> g
IGRAPH UN-- 3020 2410 -- 
+ attr: name (v/c), Edge (e/n), money_net (e/n), stay_net (e/n),
  talk_net (e/n), drug_net (e/n), sex_net (e/n), DrugTalk_net (e/n),
  medical_net (e/n), SocServices_net (e/n), age (e/n), drug_sex (e/n),
  info_net (e/n), multiplexity (e/n), female_net (e/n), male_net (e/n),
  hs_educ_net (e/n), net_see_everyday (e/n), net_inject (e/n),
  net_crack (e/n), net_heroin (e/n), net_netmsex1 (e/n), net_netfsex1
  (e/n), net_netpaysex1 (e/n), net_jail (e/n), hispanic_net (e/n),
  black_net (e/n), white_other_net (e/n)

 

In what format does the data need to be in order to run the quadratic assignment procedure in R?

 

Do I need to convert it to an sna matrix?  If so, what is the best way to do this?

 

Thanks,

Abby


reply via email to

[Prev in Thread] Current Thread [Next in Thread]