search for: adjacency

Displaying 20 results from an estimated 895 matches for "adjacency".

2011 Aug 13
3
Adjacency Matrix help
I have created an adjacency matrix but have not been able to figure something out. I need to put zeros on the diagonal of the adjacency matrix. For instance, location (i,i) to equal 0. Please help. Thanks -- View this message in context: http://r.789695.n4.nabble.com/Adjacency-Matrix-help-tp3740946p3740946.html Sent from th...
2010 Jul 08
2
hi... problems about adjacency matrix
Dear all, Hi, I have the problems about converting the matrix to adjacency matrix.Here's my example, a b c d e fa 1.0000000 0.4048823682 0.1228531 0.49046991 0.4945158868 0.307443317b 0.4048824 1.0000000000 0.4367475 0.96949219 0.0007378596 0.560747765c 0.1228531 0.4367474719 1.0000000 0.4...
2006 Dec 05
4
incidence and adjacency matrix conversion
Dear all, how can I convert an m x n incidence matrix into an m x m adjacency matrix or an n x n adjacency matrix? The current matrix contains binary data, hence the new matrix would contain counts of common occurrences. Thank you for your help. Phil
2011 Sep 25
4
Trouble creating and adjacency matrix
Hello all, I'm having trouble creating an adjacency matrix. Basically, I need to turn the following distance matrix into an adjacency matrix based on whether values are >1.5 or not. If they are >1.5, then the returned value should be 0. If they are =<1.5, then the returned value should be 1. DistanceMatrix: A B...
2013 Feb 05
2
adjacency list to non-symmetric matrix
Dear R community, is there an easy way to convert an adjacency list (or a data-frame) to a non-symmetric matrix? The adjacency list has the following form: person group 1 Sam a 2 Sam b 3 Sam c 4 Greg a 5 Tom b 6 Tom c 7 Tom d 8 Mary b 9 Mary d I need the data in a matrix with persons as rows and groups as columns: a b c d Sam 1 1 1 0 Greg 1 0 0 0 Tom 0 1 1...
2009 Aug 26
1
Problem with standard generic methods in Matrix package
I have posted this message on r-lang, but it is perhaps more appropriate on r-devel: --- Hello, I'm puzzled by a problem with call to diag(), rowSums(), rownames() on objects of class "dgtMatrix", created by sparseMatrix() or spMatrix(). I use Matrix 0.999375-30. The weird thing is that I don't encounter any problem when I use this functions on the R prompt, or
2005 Mar 08
1
To convert an adjacency list model into a nested set model
Dear R-help I am wondering if somebody wrote some code to convert an adjacency list model into a nested set model. In principal I want to do the same as John Celko mentioned it here with SQL: http://groups.google.co.uk/groups?hl=en&lr=lang_en&selm=8j0n05%24n31%241 %40nnrp1.deja.com Assume you have a tree structure like this Albert / \...
2012 Nov 19
0
R SNA: Creating a adjacency matrix containing all actors but only values of a subset
...irms can be in several projects, and one project can consist of a cooperation of more than one firm. Example: Name Project Year AA 1 2003 AB 1 2003 AB 2 2003 AB 3 2004 AC 2 2003 AC 4 2005 For the network analysis i need a adjacency matrix with all firms a srow and column header, which i construct as follows: ---- grants.edgelist <- read.csv("00-composed.csv", header = TRUE, sep = ";", quote="\"", dec=",", fill = TRUE, comment.char="") grants.2mode <- table(grants....
2005 Mar 08
15
Rails 0.10.1and WEBrick
Doesn''t appear to work with WEBrick. Works find with Apache/FastCGI. Something wrong in the way Rails is trying to process paths from the WEBrick server. If I try to send in http://localhost:3000/recipes/new, WEBrick is interpreting /new as my controller, instead of my action.
2008 Mar 05
4
vertex labels in igraph from adjacency matrix
...etting some unexpected results from some functions of igraph and it is possible that I am misinterpreting the vertex numbers. Eg., the max betweenness measure seems to be from a vertex that is not connected to a single other vertex. Below if my code snippet: require(igraph) my.graph <- graph.adjacency(adjmatrix = my.adj.matrix, mode=c("undirected")) most.between.vert <- colnames(my.adj.matrix)[which(betweenness(graph = my.graph, v=V(my.graph), directed = FALSE) == max(betweenness(graph = my.graph, v=V(my.graph), directed = FALSE))) + 1] sum(my.adj.matrix[most.between.vertext,])...
2011 Jul 11
3
Intransitive DAG
Aloha all, I have an adjacency matrix for an acyclic digraph that contains transitive relations, e.g. (u,v), (v,w), (u,w). I want a DAG with only intransitive relations. Can someone point me to an R function that will take my adjacency matrix and give me back one with only intransitive relations? In the example, I'd like...
2008 Feb 27
1
how to convert a table to adjacency matrix used in social network analysis?
Hi Guys, Do you any one know how to convert a long format table to an adjacency matrix used in sna? The long table looks like p1 p2 counts a b 100 a c 200 a d 100 b c 80 b d 90 b e 100 c d 100 c e 40 d e 60 and I want to convert it to an adjacency matrix which can be used in sna? Any methods will be appreciated! btw, besides sna package, is there any better package can be...
2008 Jul 29
1
rolling regression between adjacent columns
Hi everyone, I am trying to apply linear regression to adjacent columns in a matrix (i.e. col1~col2; col3~col4; etc.). The columns in my matrix come with identifiers at the top of each column, but when I try to use these identifiers to reference the columns in the regression function using rollapply(), the columns are not recognised and the regression breaks down. Is there a more robust way to
2020 Apr 08
5
[Bug 1417] New: mapping to adjacent ranges is causing error in kernel 5.6, kernel 5.5 works fine
https://bugzilla.netfilter.org/show_bug.cgi?id=1417 Bug ID: 1417 Summary: mapping to adjacent ranges is causing error in kernel 5.6, kernel 5.5 works fine Product: nftables Version: unspecified Hardware: x86_64 OS: All Status: NEW Severity: critical Priority: P5
2020 May 06
6
GeForce(R) GT 710 1GB PCIE x 1 on arm64
Am Mittwoch, den 06.05.2020, 10:26 -0400 schrieb Ilia Mirkin: > [please keep list cc'd in your replies] > > On Wed, May 6, 2020 at 10:15 AM Milan Bu?ka <milan.buska at gmail.com> wrote: > > [ 0.000000] Linux version 5.6.10-zotac (root at saux) (gcc version 9.3.0 (SAUX Aarch64)) #1 SMP PREEMPT Tue May 5 22:16:40 CEST 2020 > > [ 0.000000] Machine model: NVIDIA
2007 Apr 15
0
correlation between multiple adjacency matrix graphs
I'm looking for a way to do (product moment) graph correlation between multiple unlabeled graphs G to Gn. Basically I have 900 individual samples of a 48x48 adjacency matrix which I've listed as a 3rd dimension of a single array. So it looks something like [48,48,i] where i is each individual subject's adjacency matrix. If i run the gcor function on any two graphs for example [,,1] & [,, 2] it returns a single graph correlation value however if...
2018 Aug 20
2
[Bug 13582] New: rsync filters containing multiple adjacent slashes aren't reduced to just one slash before matching
https://bugzilla.samba.org/show_bug.cgi?id=13582 Bug ID: 13582 Summary: rsync filters containing multiple adjacent slashes aren't reduced to just one slash before matching Product: rsync Version: 3.1.3 Hardware: x64 OS: Linux Status: NEW Severity: normal Priority: P5
2006 Feb 18
2
Conversion to Adjacency Matrix
...1004 4 1001 NA 1005 NA 5 1002 NA NA NA 12 1003 NA NA 1006 7 1005 NA NA NA 8 1004 1007 NA NA 9 1006 NA NA NA 26 1007 NA NA NA I would like to convert this into an adjacency matrix like the following: 1 2 3 4 5 12 7 8 9 26 1 0 0 1 1 1 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 3 0 0 0 0 0 1 0 1 0 0 4 0 0 0 0 0 0 1 0 0 0 5 0 0 0 0 0 0 0 0 0 0 12 0 0 0 0 0 0 0 0 1 0 7 0 0 0 0 0 0 0 0 0 0...
2020 Nov 15
1
[Bug 1482] New: adjacent /31 IPs in ipset
https://bugzilla.netfilter.org/show_bug.cgi?id=1482 Bug ID: 1482 Summary: adjacent /31 IPs in ipset Product: nftables Version: unspecified Hardware: x86_64 OS: other Status: NEW Severity: normal Priority: P5 Component: kernel Assignee: pablo at netfilter.org
2020 May 06
0
GeForce(R) GT 710 1GB PCIE x 1 on arm64
[please keep list cc'd in your replies] On Wed, May 6, 2020 at 10:15 AM Milan Bu?ka <milan.buska at gmail.com> wrote: > [ 0.000000] Linux version 5.6.10-zotac (root at saux) (gcc version 9.3.0 (SAUX Aarch64)) #1 SMP PREEMPT Tue May 5 22:16:40 CEST 2020 > [ 0.000000] Machine model: NVIDIA Jetson TX2 Developer Kit [...] > [ 3.965934] tegra-pcie 10003000.pcie: Adding to