Thank for your response. It is oddly working now. Thanks again,
Brenda On 5/14/12 10:36 AM, "Gábor Csárdi-2 [via R]" <ml-node+s789695n4629973...@n4.nabble.com> wrote: > Something weird must be going on in your s641_social object. Can you just > simply check that the vertex names look OK with 'V(s641_social)$name'? If they > look good, then can you send me the s641_social object in private? (Or part of > it, assuming a part is enough to reproduce the problem.) Best, Gabor On Sat, > May 12, 2012 at 8:07 PM, bmccowan <[hidden email] > </user/SendEmail.jtp?type=node&node=4629973&i=0> > wrote: >> > I am using the code below to output some network measures: > > >> central_social <- data.frame(V(s641_social)$name, indegree_social, > >> outdegree_social, incloseness_social, outcloseness_social, > >> betweenness_social, eigen_social) > > and I get the following error: > > > >> Error in Re(z) : non-numeric argument to function > > I know this has to do >> with V but I cannot figure out what is wrong. > s641-social is a graph object >> and the vertices do have a name attribute. > > What can I do to fix? > > >> Thanks > > -- > View this message in context: >> http://r.789695.n4.nabble.com/Help-with-V-function-in-igraph-tp4629767.html> >> Sent from the R help mailing list archive at Nabble.com. > > >> ______________________________________________ > [hidden email] >> </user/SendEmail.jtp?type=node&node=4629973&i=1> mailing list > >> https://stat.ethz.ch/mailman/listinfo/r-help> PLEASE do read the posting >> guide http://www.R-project.org/posting-guide.html> and provide commented, >> minimal, self-contained, reproducible code. > -- Gabor Csardi <[hidden email] > </user/SendEmail.jtp?type=node&node=4629973&i=2> >   MTA KFKI RMKI > ______________________________________________ [hidden email] > </user/SendEmail.jtp?type=node&node=4629973&i=3> mailing list > https://stat.ethz.ch/mailman/listinfo/r-helpPLEASE do read the posting guide > http://www.R-project.org/posting-guide.htmland provide commented, minimal, > self-contained, reproducible code. > > If you reply to this email, your message will be added to the discussion > below: > http://r.789695.n4.nabble.com/Help-with-V-function-in-igraph-tp4629767p4629973 > .html > To unsubscribe from Help with V function in igraph, click here > <http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_c > ode&node=4629767&code=YmptY2Nvd2FuQHVjZGF2aXMuZWR1fDQ2Mjk3Njd8MTg1NDg1MDYx> . > NAML > <http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id= > instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace- > nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespac > e&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble > %3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://r.789695.n4.nabble.com/Help-with-V-function-in-igraph-tp4629767p4629989.html Sent from the R help mailing list archive at Nabble.com. [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.