Displaying 20 results from an estimated 895 matches for "adjacent".
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 the R help mailing list archive at Nabble.com.
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.40037341 0.3157538204
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 C D E
[1,]
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 1
Mary 0 1 0 1
I know that there
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
1 down vote favorite
my problem is the following:
I am using the R SNA package for social network analysis. Lets say, my
starting point is an edgelist with the following characteristics. Every row
contains a firm name, the ID of a project they are involved and further
characteristics, let's say the projects year. Firms can be in several
projects, and one project can consist of a
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
I am getting 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 <-
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 to get rid of (u,w) and keep (u,v)
and (v,w).
All the best,
Tom
--
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 used in social
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 do...
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-byte...
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
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
Assigne...
2006 Feb 18
2
Conversion to Adjacency Matrix
I have data in the following form:
ID COUPON0 COUPON1 COUPON2 COUPON3
1 1 1000 1001 1002
2 2 NA NA NA
3 1000 1003 NA 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
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: mart...
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 write t...