Search Archives
Search tips
from:Name
Search by author name, e.g. from:Duncan Murdoch
"exact phrase"
Match an exact phrase
word1 word2
Match messages containing both words
Date range
Use the date pickers to filter results to a time period
Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20101230/6163539f/attachment.pl>
thank you for the answers, problem solved Regards, ADias. -- View this message in context: http://r.789695.n4.nabble.com/How-to-make-this-script-ask-again-tp3170243p3170611.html Sent from the R help mailing list archive at Nabble.com.
Hi thank you all. I think I have what I need to solve my problem. Regards, A.Dias -- View this message in context: http://r.789695.n4.nabble.com/Help-with-For-instruction-tp3173074p3173386.html Sent from the R help...
Pete Brecknock wrote: > > try ... > > new_m = m[c(2,7,8),c(1,4,6,7)] > > HTH > > Pete > Hi Pete, I haven't understood what you wanted to say here. Can you explain please? thanks ADias -- View this message in...
Hi, Suposse I have a vector: v->c(10,13,4,6,45,27,32,21,1,8,14,36) how do i sort just the odd numbers leaving the rest - the even numbers - on the same positions as they...
Hi I am trying to create a function that is able to calculate this sum: a<-c(2,3,5) b<-(8,7) with "a" meaning 235 and "b" 87. So the result of this sum would be 235 + 87...
Hi Suppose we have an object with strings: A<-c("a","b","c","d") Now I do: B<-matrix(A,4,4, byrow=F) and I get a a a a b b b b c c c c d...
> BTW. There are help pages coming with R installation. Do you have them > corrupted? There is strsplit in see also section of nchar help page. > yes I do. But I have many dificulties in finding what I need. And on...
Hello, thank you all. I have been able to solve my problem with your help. The problem I am trying to solve is: I am working on a clustering method to group a data base. At the moment I am...
Hi, I have this character vector: A<-c("Tell me how many different letter this vector has?") Is there a way with R that it can let me know how many different letters I have on this vector? If I...
Hi, Still with the above problem: But for instance, i have a data base with 30 variables and I created an object each with one varibale missing: DataBase - has 30 variables DataBase1 has 29 variables with the 1st variable gone...
Hi, I am having a problem in doing something similar to this example: Suppose I have this vector a, and from it I wish to create 5 other vector each one with less one value than what object a has...
Hi, I have a data.frame and I need to know witch store sold more "Lapiseiras". I got a point where I am almost sure I am very closed to the answer but I am missing somethiing. So, the data...
Hi I have this function and this matrix: function(x,y) x+y/x m<-matrix(c(1,2,4,2,10,8),3,2) > m [,1] [,2] [1,] 1 2 [2,] 2 10 [3,] 4 8 each row represent...
Hi, Is there an expression to double the values of a matrix - without using a loop? What I need is this: Suppose we have this matrix > m [,1] [,2] [,3] [1,] 7 17 4 [2,] 11 10 18 [3,] 15...
Hi, as an example I have made this script to give the user the answer if a number is odd or even: { cat("Please, enter a number (Zero ends)") n<-scan(n=1) if(n==0)break i<-("The number...
ADias wrote: > > Hi, > > I am using the code below to get a plot that will show me on the X axis > the number of clusters and on the Y axis the cluster average widths. > However I am getting this error...
I have done like this to get the result I need more directly A<-c("Tell me how many different letter this vector has?") prop.table(table(strsplit(A,""))) ? a c d e f h i l m n o...
Hi, yes it works perfectly. I have another question: Is there way of selecting with a vector the values I wish to take out from a matrix. Example: I have this matrix and I want to take out the numbers...
Hi, I am with a problem on how to do a comparison of values. My script is as follows: repeat{ cat("How many teams to use? (to end write 0) ") nro<-scan(n=1) if(nro==0)break cat("write...
Can't find what you're looking for? Try searching with Google .