search for: adjac

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

Did you mean: adac
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 fro...
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...
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...
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...
2009 Aug 26
1
Problem with standard generic methods in Matrix package
...code is in a package, installed with R CMD INSTALL, and loaded with library(). I have tried to reduce the package to the bare minimum in order to discover the problem, but it continue even when reduced up to a single method, no dependency other than Matrix. The method is defined as: --- getAdjacentAsSparseMatrix <- function() { adjacents <- sparseMatrix(i=1:10, j=1:10, x=1:10) print(class(adjacents)); diagonal <- as.vector(diag(adjacents)); if (any(diagonal != 0)) { diagonal[diagonal > 1] <- 1; diag(adjacents) <- diagonal; }...
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(gra...
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 l...
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...
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...
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 Component: kernel...
2020 May 06
6
GeForce(R) GT 710 1GB PCIE x 1 on arm64
...ot bus resource [mem 0x58000000-0x7fffffff pref] > > [ 6.479668] pci_bus 0000:00: root bus resource [bus 00-ff] > > [ 6.479850] pci 0000:00:01.0: [10de:10e5] type 01 class 0x060400 > > [ 6.479887] pci_bus 0000:00: 2-byte config write to 0000:00:01.0 offset 0x4 may corrupt adjacent RW1C bits > > [ 6.479916] pci_bus 0000:00: 2-byte config write to 0000:00:01.0 offset 0x4 may corrupt adjacent RW1C bits > > [ 6.479993] pci_bus 0000:00: 2-byte config write to 0000:00:01.0 offset 0x3e may corrupt adjacent RW1C bits > > [ 6.480041] pci_bus 0000:00: 2-b...
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 howeve...
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 Component: core Assi...
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...
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 Reporter: m...
2020 May 06
0
GeForce(R) GT 710 1GB PCIE x 1 on arm64
...bus 0000:00: root bus resource [mem 0x58000000-0x7fffffff pref] > [ 6.479668] pci_bus 0000:00: root bus resource [bus 00-ff] > [ 6.479850] pci 0000:00:01.0: [10de:10e5] type 01 class 0x060400 > [ 6.479887] pci_bus 0000:00: 2-byte config write to 0000:00:01.0 offset 0x4 may corrupt adjacent RW1C bits > [ 6.479916] pci_bus 0000:00: 2-byte config write to 0000:00:01.0 offset 0x4 may corrupt adjacent RW1C bits > [ 6.479993] pci_bus 0000:00: 2-byte config write to 0000:00:01.0 offset 0x3e may corrupt adjacent RW1C bits > [ 6.480041] pci_bus 0000:00: 2-byte config writ...