[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] per-vertex statistics of edge weights
From: |
Sam Steingold |
Subject: |
Re: [igraph] per-vertex statistics of edge weights |
Date: |
Wed, 15 Aug 2012 16:10:14 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
> * Sam Steingold <address@hidden> [2012-08-15 14:04:18 -0400]:
>
>> sapply(vertices$vertex, function (v) mean(E(g)[inc(v)]$weight))
> Note: no visible global function definition for 'inc'
> [1] 1.333333 1.000000 2.500000 1.666667
>
> but I was wondering if this is TRT, given the correct answer with a
> scary note.
Also, this takes forever and consumes almost all 8GB RAM.
It has been running on
--8<---------------cut here---------------start------------->8---
IGRAPH DNW- 18590 6734992 --
+ attr: name (v/c), count (v/n), weight (e/n)
--8<---------------cut here---------------end--------------->8---
for an hour and a half now.
--
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
http://www.childpsy.net/ http://memri.org http://jihadwatch.org
http://www.PetitionOnline.com/tap12009/ http://truepeace.org
Please express your antipathy in the suicidal form.