) can be
converted to vertex names via
V(g)$name[v]
or the more readable equivalent
get.vertex.attribute(g, name, v)
Best,
Gabor
On Tue, Jul 31, 2012 at 3:12 PM, HIMANSHU MITTAL hm3...@gmail.com wrote:
Hi all,
I want to find all the mappings of one graph in another graph, based
(1)
z(5) x(2)
graph 2:
x(1) y(2)
# the brackets contain the corresponding vertex ids
i would like my output to contain the two mappings from graph 1
i.e
x(2) y(3)
x(1) y(4)
Regards,
Himanshu Mittal
[[alternative HTML version deleted]]
__
R
Thanks a ton
Regards
Himanshu Mittal
On Sat, Jun 30, 2012 at 11:42 PM, Rui Barradas ruipbarra...@sapo.pt wrote:
Hello,
The answer to the question is yes.
But first a note. Your vertex ids start at 51 and the greater is 173.
igraph vertices (and edges) are automatically numbered starting
(**315522000, 6),
origin=1970-01-01))
V(g)$date
Rui Barradas
Em 30-06-2012 04:26, HIMANSHU MITTAL escreveu:
Thanks a lot.
But i have one more doubt
one of the attribute i have is time of edge formation
id1,id2,label,time
51,66,0,315522000
51,66,0,315522000
140,157,0,315522000
Hi all,
I have a text file in which the graph info is stored as:
node1 node2 attr1 attr2
where there is an edge b/w node12 and attr12 are edge atttributes
is there any way to create a graph using such format in r?
Regards,
Himanshu Mittal
[[alternative HTML version deleted
yes i would prefer igraph, but it can be any r package as long as it can
create the graph
On Fri, Jun 29, 2012 at 11:14 PM, Peter Ehlers ehl...@ucalgary.ca wrote:
On 2012-06-29 10:28, HIMANSHU MITTAL wrote:
Hi all,
I have a text file in which the graph info is stored as:
node1 node2 attr1
above would do.
Hope this helps,
Rui Barradas
Em 29-06-2012 19:05, HIMANSHU MITTAL escreveu:
yes i would prefer igraph, but it can be any r package as long as it can
create the graph
On Fri, Jun 29, 2012 at 11:14 PM, Peter Ehlers ehl...@ucalgary.ca
wrote:
On 2012-06-29 10:28
Hello all,
I have a txt file with some data which isn't in any organized form like a
table, but just simple text.
Is there any way to read the file char by char and store the necessary
characters?
Regards,
Himanshu Mittal
[[alternative HTML version deleted
Dear all,
I want to compare two matrices . the code must return True only when all
the elements of the two matices match.
How can this be done in R ?
Regards
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
Hope this helps,
Rui Barradas
Em 12-06-2012 08:52, HIMANSHU MITTAL escreveu:
Dear all,
I want to compare two matrices . the code must return True only when all
the elements of the two matices match.
How can this be done in R ?
Regards
[[alternative HTML version deleted
10 matches
Mail list logo