[R] Writing values to vectors

From: kparamas <kparamas_at_asu.edu>
Date: Sun, 13 Mar 2011 23:32:52 -0700 (PDT)


Hi,

I am calculating,inside a function, clustering coefficient, average path length and diameter
of a graph.

I want to write them to 3 different vectors. Please let me know how to do that.

degreeDist = function()
{
..
#calculating the values
....
}

degreeDist(data1)
degreeDist(data2)
degreeDist(data3)

Thanks,
Kumaraguru

--
View this message in context: http://r.789695.n4.nabble.com/Writing-values-to-vectors-tp3353220p3353220.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help_at_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.
Received on Mon 14 Mar 2011 - 07:13:43 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 14 Mar 2011 - 09:00:22 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive