Hi Kumaraguru,
Just assign the output to a variable name, like:
vec1 <- degreeDist(data1)
vec2 <- degreeDist(data2)
vec3 <- degreeDist(data3)
HTH,
Josh
On Sun, Mar 13, 2011 at 11:32 PM, kparamas wrote:
> Hi,
>
> I am calculating,inside a function, clustering coefficient, average path
> length
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
2 matches
Mail list logo