search for: lacen

Displaying 2 results from an estimated 2 matches for "lacen".

Did you mean: lacey
2002 Jun 21
3
Question
...) to display the image(....), but Rterm.exe closes after executing all example.R commands and I want to keep the window active, so that I can use the window-menue. Question: Which command can I use in example.R or what else can I do that I can keep the window active? Thanks for helping me. Ales Lacen e - mail: lacen at eos-gmbh.de -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 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) }