similar to: Problem with a matrix

Displaying 20 results from an estimated 10000 matches similar to: "Problem with a matrix"

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 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 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 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 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, one with bb, and one with cc.
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 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 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 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
2003 Apr 28
4
plot(pam.object) error with R-1.7.0 on Red-Hat 8.0 i686
I don't know if there is some fault in compiling or a bug of the new R-1.7.0 version: cl.pam.2 <- pam(as.dist(1-cor(mel.data)),2) plot(cl.pam.2) perform a right partitioning and silhouette plot on the old R-1.6.2 instead "Error in clusplot.default(x$diss,...... ; x is not numeric" is the output on the new R-1.7.0. Same platform: RH8.0 i686. Some suggestions? A.S.
2010 Jun 25
2
Delete rows in the data frame by limiting values in two columns
Hi, folks, Finally Friday~~ Here comes the question: x=c('germany','poor italy','usa','england','poor italy','japan') y=c('Spain','germany','usa','brazil','england','chile') s=1:6 z=3:8 test=data.frame(x,y,s,z) #Now I only concern the countries ('germany','england','brazil').
2002 Apr 15
8
Problem
Hello! If I have a matrix as 1 2 2 3 and I want to change the value 2 in 0, what can I do? Thank you -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 !)
2011 Jun 13
4
[LLVMdev] Is LLVM expressive enough to represent asynchronous exceptions?
On Jun 12, 2011, at 4:40 PM, John McCall wrote: > On Jun 12, 2011, at 2:14 PM, Cameron Zwarich wrote: > >> On Jun 12, 2011, at 1:25 AM, Duncan Sands wrote: >> >>> Hi Sohail, >>> >>>> Is LLVM expressive enough to represent asynchronous exceptions? >>> >>> not currently. The first step in this direction is to get rid of the
2011 Jun 13
0
[LLVMdev] Is LLVM expressive enough to represent asynchronous exceptions?
On Jun 12, 2011, at 11:24 PM, Bill Wendling wrote: > On Jun 12, 2011, at 4:40 PM, John McCall wrote: > >> On Jun 12, 2011, at 2:14 PM, Cameron Zwarich wrote: >> >>> On Jun 12, 2011, at 1:25 AM, Duncan Sands wrote: >>> >>>> Hi Sohail, >>>> >>>>> Is LLVM expressive enough to represent asynchronous exceptions?
2013 Mar 18
3
Facter Strings to integer.
Hello, If I want to do something like this:- if $::lsbdistrelease >= 6.3 { SOMETHING } Do I have to convert lsbdistrelease from a string to a number with an inline template or some such ? Thanks Paul -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email
2003 Oct 23
7
generic algorithm
Dear all, Is there any generic algorithm code for optimization implemented in R? I searched without success. Thanks, -- Zhu Wang Statistical Science Department Southern Methodist University Phone: (214)768-2453 Fax: (214)768-4035 Email: zhuw at mail.smu.edu
2006 Jun 08
1
expand only one of variable
Dear all, I want to expand only one of variable in data frame and the others variable will be following with the expand variable. Here my toy example: toy.df <- data.frame(size=c(3,1,2,0,3,5,1,0), group=LETTERS[1:8], country=c("Germany","England","Argentina","Mexico","Italy","Brazil","France","Spain"),
2004 May 14
2
how add objects to an svm graphic
Dear all, I'm not able to solve easily the following simple problem. I really hope someone can give me some hints. I trained an svm (e1071). Now I'd like to show the results graphically. I used plot.svm and I'd like to add some other objects to the plot: points, (coloured) ellipses to indicate some intersting regions, curves, and so on... I tried to pass these as additional
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
2009 Feb 07
2
Time Series Graphics - "cannot plot more than 10 series"
Hi Experts, I would like to present time series data in meaningful way in building some graphics. I've tried: (1) plot(ts(mbaye3)) and (2) plot(ts(mbaye3), start=1990) But I always get this error-message: Fehler [error] in plotts(x = x, y = y, plot.type = plot.type, xy.labels = xy.labels, : cannot plot more than 10 series as "multiple" my data: mbaye3