search for: klavan

Displaying 11 results from an estimated 11 matches for "klavan".

Did you mean: kavan
2002 Apr 12
2
Help
I have an adjacency matrix and I want to obtain a matrix of the minimum paths between the nodes. Thank you Alessandro Ambrosini -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !)
2002 Apr 30
3
A sample question
Hello. Given a vector 1 3 4 2 8 9 5 I want to obtain a vector with all 0 except in the second position and in the fifth, where the numbers are the same of the first vector. The new vector must be 0 3 0 0 8 0 0 Thank you very much. Excuseme but my mind is out of order. Alessandro -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2002 Apr 20
3
Problem with a matrix
I have a scattered matrix that I have to import from an external file. In this case all the lines could have a different size. The graph is oriented. I give you an example: a b c b a c d c b The first row expresses that "a" has a direct path with "b" and also with "c". In the second "b" has a path with "a" and one with "c". In the third
2002 Apr 29
1
I: Problem
-----Messaggio originale----- Da: Ambrosini Alessandro [mailto:klavan at tiscalinet.it] Inviato: luned? 29 aprile 2002 20.38 A: R-help at lists.R-project.org Oggetto: Problem Hello! This is the situation. I have a file in wich there is a scattered matrix. I give an example: aa bb cc bb xx dd cv st rw xx yu de qw ww zzp where aa is a node that has a path with aa,...
2002 May 23
2
Find if there is independence
Hello I have the matrix a<-matrix(c(2,1,0,1,2,2,1,5,7,2,5,12),nrow=6) a [,1] [,2] [1,] 2 1 [2,] 1 5 [3,] 0 7 [4,] 1 2 [5,] 2 5 [6,] 2 12 Suppose that in the first row we have 3 men of England, 2 with hair, and 1 no In the second we have 6 italian men, 1 with hair and 5 no ... I want to find if there is a dependence between men withouth hair and
2002 May 14
5
Question
Hello. I want to use "for". I have a matrix called "mat" that has got 100 rows. I want to take the line 1 and make a1<-which(mat[1,]==1) After this I want to take the second row and make a2<-which(mat[2,]==1) and so on until I arrive at row 100. I want to make it automatic for the 100 rows and so I wrote: for(i in 1:nrow(mat)){ ai<-which(mat[i,]==1) }
2002 May 22
2
Problem
Hello. I don't know if you can help me but I try. I have a collection of objects, we suppose that they are 1000. After some works that I made I divided this collection in some clusters. Suppose to have obtained 50 clusters. For each cluster I found a particular value called Precision, where 0<Precision<1. Taken the firs cluster I want to compare his Precision with the precision of his
2002 Apr 15
6
two questions
The first: if I have a vector as (1,1,3,2,1,1), which is the command that gives all the positions of the min value? From the vector of the example a would like to obtain a new vector as (1,2,5,6) that give me all the positions of the minimum value 1. The second: if I have a matrix "A" and I want to obtain a new matrix deleting a column or a row of A, what have I to do? Thank you.
2002 Apr 18
5
Two problems
Hello! Two questions: 1: I have to import a matrix of adjacency from a file of a software that is not R (for example "bloc notes" of Windows). The problem is that the matrix is not in the explicit form as 0 1 1 1 0 0 1 0 0 but it is a scattered matrix where in each row there are two nodes that have a direct path. The matrix is a b a c b a c a For example, the first row
2002 May 02
2
Two scattered matrix
Hello. Given two scattered matrix a b c d s n q w e r t y and cx vf re ty sw k sa gf jk we as cd I want to obtain a single matrix as a b c d s n q w e r t y cx vf re ty sw k sa gf jk we as cd What have I to do? Thank you Alessandro -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
2002 May 24
1
Fisher
Hello. I had a big collection of Web pages. Now I have this collection divided into clusters. Every page can be relevant or not. I made a table: relevant non relevant cluster1 1 20 cluster2 0 15 cluster3 3 35 . . . . . . . . . I cluster1 I have 21 Web pages, 1