Displaying 20 results from an estimated 90000 matches similar to: "neighbors of an element of a matrix"
2008 Aug 11
6
number of an element in a matrix
Hi, I wonder if there is any function which gives the number of times which
an element is repeated in the matrix. Let say there is a matrix, I would
like to find out how many times number 2 has been repeated in the matrix, or
in other words, how many elements of the matrix are equal 2.
Thanks for your help,
Rostam
[[alternative HTML version deleted]]
2008 Aug 05
2
max size of a matrix
Hi R users,
I am trying to create a matrix, but R has problem with the size of dim,
wondering if there is anything that I can do?
> a <- diag(147456)
Error in array(0, c(n, p)) : 'dim' specifies too large an array
Thanks for your help
Rostam
[[alternative HTML version deleted]]
2008 Aug 12
1
converting rgb() output to 0-255
Hi,
I have three matrices, Red, Green and Blue. I would like to produce a matrix
which is the combined values of Red, Green and Blue matrices.
I know rgb() does the job, but the values are not between 0-255, they are in
the following format:
"#2C312C"
I would like to have the values between 0-255.
I wonder if you could tell me what I can do...
Thanks for your help,
Rostam
2008 Aug 05
0
P values in non linear regression and singular gradients using nls
Dear all,
We are trying to fit a non linear model to dispersal data.
It seems that sometimes when the fit of the model of the data is not
very good we start getting singular gradient errors. However if we
modify slightly the data this won't occurr. We have also tried changing
the initial parameter values and the algorithm for fitting in nls but
didn't help.
So we ended up programming a
2008 Aug 01
1
creating image using RGB values
Hi R users,
I would like to create an image using three matrices which contain the
values of Red, Green, and Blue of each pixel, i.e. one matrix which has
values of red, one which has values of green, and one which has values of
blue.
The values are between 0 and 1 instead of 0-255.
I have obtained the matrices using the getChannels of pixmap library.
I wonder if anyone knows how to create the
2012 Feb 22
0
package igraph function neighbors() pb with indices
Dear all,
I am using the package igraph and try to use the neighbors() function. I am
a bit confused, see the following :
Given a graph g with 18 vertices. Names of the vertices are indicated by :
> V(irt.graph)$name
[1] "AT2G41240" "AT3G13610" "AT3G02470" "AT3G30775" "AT3G18290"
"AT4G13770" "AT1G01580"
2008 Sep 04
1
showing the image
Hi everyone,
I have a matrix containing color values of an image same as following,
[1,] "#444444" "#444444" "#434343" "#404040" "#3D3D3D" "#3D3D3D" "#3E3E3E"
[2,] "#414141" "#414141" "#414141" "#404040" "#3F3F3F" "#3F3F3F" "#3F3F3F"
[3,] "#3E3E3E"
2008 Nov 14
1
running r script in windows command line
Hi,
I would like to run a saved script in windows command line. Some command
which takes the filename as an argument, and runs it in R.
Thanks,
Rostam
[[alternative HTML version deleted]]
2000 Mar 29
2
regularly lattice & neighbors
Dear R-users,
Is there a procedure to identify neighbors in a regular lattice using either a
"rook" or a "queen" criterium? To be more specific, suppose:
My lattice:
1 2 3
4 5 6
7 8 9
"Rook" Neighbors
1 has neighbors 2,4
2 has neighbors 1,3,5
...
5 has neighbors 2,4,6,8
"Queen Neighbors"
1 has neighbors 2,4,5
2 has neighbors 1,3,4,5,6
For each case,
2012 Jul 24
3
Nearest Neighbors
I was wondering if there is a way in R to find k nearest neighbors of various
orders, say order 2, 3, or 4. In otherwords neighbors of neighbors of
neighbors. You get the idea. I know that I can use knearneigh(matrix.data,
k) but this only gives me the k nearest neighbors and not of a particular
order.
Thanks in advance.
--
View this message in context:
2012 Nov 17
1
samba4: samba-tool drs showrepl => NO OUTBOUND NEIGHBORS
Hello,
I have samba4 rc4 installed and connected it to WIN Server 2003 AD DC, as a DC. and when I see the replication activities, I didn't see any outbound neighbors... is that normal? do anyone know why?
[root at MYSERVER2 ~]# samba-tool drs showrepl
Default-First-Site-Name\MYSERVER2
DSA Options: 0x00000001
DSA object GUID: 017f9482-5157-4884-aed8-9251a997b047
DSA invocationId:
2013 Nov 20
1
No neighbors in 'drs showrepl'
Is this a problem? Does this mean no replication links exist?
michael at sles-bree:~> samba-tool drs showrepl -k yes
Bree\SLES-BREE
DSA Options: 0x00000025
DSA object GUID: 7ea641b0-d418-4c74-a4fa-c15b852467b8
DSA invocationId: 1017ff29-756c-4777-b395-b481f4b5387c
==== INBOUND NEIGHBORS ====
==== OUTBOUND NEIGHBORS ====
==== KCC CONNECTION OBJECTS ====
Connection --
Connection name:
2017 Jul 23
0
matching element of a vector to i-2nd element
Homework?? There is a no homework policy on this list.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Sun, Jul 23, 2017 at 11:43 AM, Davide Piffer <pifferdavide at gmail.com> wrote:
> I have a df with a vector v. For
2005 Oct 21
2
Finding the neighbors of the point
Dear all,
I got point data of trees. I was wondering if anybody has experience in searching the neighbors within a specified distance efficiently.
X Y Z
99 34 65
98 35 29
98 34 28
99 33 33
98 32 23
99 33 21
99 33 22
99 32 24
99 30 23
...
What I want to do is : searching for the neighbors with a distance R for each tree & the neighbor must have a bigger Z.
2010 Feb 24
1
Sparse KMeans/KDE/Nearest Neighbors?
hi,
I have a dataset (the netflix dataset) which is basically ~18k columns and
well variable number of rows but let's assume 25 thousand for now. The
dataset is very sparse. I was wondering how to do kmeans/nearest neighbors
or kernel density estimation on it.
I tired using the spMatrix function in "Matrix" package. I think I'm able to
create the matrix but as soon as I pass
2017 Jul 23
1
matching element of a vector to i-2nd element
No homework. Just a genuine question
On 23 July 2017 at 22:00, Bert Gunter <bgunter.4567 at gmail.com> wrote:
> Homework?? There is a no homework policy on this list.
>
> Cheers,
> Bert
> Bert Gunter
>
> "The trouble with having an open mind is that people keep coming along
> and sticking things into it."
> -- Opus (aka Berkeley Breathed in his
2006 Feb 17
3
Matrix indexing in a loop
How do you specify matrix location a[i,j] (or a[i-1,j], etc.) in a "for"
loop?
I am looking for a flexible method of indexing neighbors over a series
of lags (1,2,3...) and I may wish to extend this method to 3D arrays.
Example:
Data matrix
> fun
[,1] [,2] [,3]
[1,] 1 5 9
[2,] 2 6 10
[3,] 3 7 11
[4,] 4 8 12
For each element a[i,j] in
2010 Nov 18
2
how to find near neighbors?
I am looking for an efficient way to find near neighbors...
More specifically...
I have two sets of points: A & B and I want to find
points in set B which are closer to set A than some
cutoff (or n-closest)
I will appreciate very much any pointers...
Ryszard
--------------------------------------------------------------------------
Confidentiality Notice: This message is private and may
2024 Dec 25
1
NTTIME(0) OUTBOUND NEIGHBORS problems drs showrepl
Hello everyone, please tell me that in samba, when replication occurs, when
calling the samba-tool drs showrepl command, the time of the last
successful attempt in OUTBOUND NEIGHBORS is not displayed
although replication is ongoing
I also looked at the repsTo attribute from the windows side and also does
not contain this information
how to force samba to display the correct replication success
2024 Dec 25
1
NTTIME(0) OUTBOUND NEIGHBORS problems drs showrepl
On Wed, 25 Dec 2024 17:53:23 +0300
Bob Levison via samba <samba at lists.samba.org> wrote:
> Hello everyone, please tell me that in samba, when replication
> occurs, when calling the samba-tool drs showrepl command, the time of
> the last successful attempt in OUTBOUND NEIGHBORS is not displayed
> although replication is ongoing
>
> I also looked at the repsTo attribute