igraph-help
[Top][All Lists]
Advanced

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

[igraph] simple example, graph.incidence skips directed parameter


From: Jose Quesada
Subject: [igraph] simple example, graph.incidence skips directed parameter
Date: Fri, 05 Jun 2009 15:00:03 +0200
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

Hi Gabor, Tamar, (all),

In this simple example, graph.incidence skips directed parameter.

inc <- matrix(sample(0:1, 15, repl=TRUE), 3, 5)
colnames(inc) <- letters[1:5]
rownames(inc) <- LETTERS[1:3]
i <- graph.incidence(inc, directed=T)
summary(i) # it's not a directed graph

I have no idea why, because it certainly works on other (bigger)
networks I'm using.
Thoughts?

Best,
-Jose

-- 
Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition -ABC-, 
Lentzeallee 94, office 224, 14195 Berlin
http://www.josequesada.name/           





reply via email to

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