search for: adia

Displaying 14 results from an estimated 14 matches for "adia".

Did you mean: adi
2010 Mar 26
1
image() function
...the information contained in t his email or its attachments is prohibited. If this email is received in error, please contact the sender and delete the material from your computer systems. Do not use, copy, or disclose the contents of this email or any attachments. Abu Dhabi Investment Authority (ADIA) does not enter into contracts or provide undertakings by email. ADIA accepts no responsibility for the content of this mail to the extent that it is unrelated to its activities or the same consists of statements or opinions which are the send er's own and not made on behalf of ADIA. ADIA d...
2010 Jul 06
1
multiple time series plot with dual 'y' axes
...the information contained in t his email or its attachments is prohibited. If this email is received in error, please contact the sender and delete the material from your computer systems. Do not use, copy, or disclose the contents of this email or any attachments. Abu Dhabi Investment Authority (ADIA) does not enter into contracts or provide undertakings by email. ADIA accepts no responsibility for the content of this mail to the extent that it is unrelated to its activities or the same consists of statements or opinions which are the send er's own and not made on behalf of ADIA. ADIA d...
2011 Jan 01
3
How to make this script ask again
...e all script again? I have tried with the "repeat" but it doesn't work repeat { cat("Please, enter a number (Zero ends)") n<-scan(n=1) if(n==0)break i<-("The number is odd") p<-("The number is even") if (n%%2==0) p else i } thanks, Regards, ADias -- View this message in context: http://r.789695.n4.nabble.com/How-to-make-this-script-ask-again-tp3170243p3170243.html Sent from the R help mailing list archive at Nabble.com.
2011 Feb 02
2
matrix and a function - apply function
...n order to get this results: for point (1,2) I would get 1+2/1 = 3 for point (2,10) I would get 2+10/2 = 7 for point (4,8) I would get 4+8/4 = 6 I have tried using sapply here but I get this: > sapply(m,function(x,y) x+y/x) Error in y/x : 'y' is missing what I am doing wrong? thanks ADias -- View this message in context: http://r.789695.n4.nabble.com/matrix-and-a-function-apply-function-tp3254271p3254271.html Sent from the R help mailing list archive at Nabble.com.
2011 Jan 06
4
Creating a Matrix from a vector with some conditions
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 d d d But what I really want is: a b c d b c d a c d a b d a b c How can I do this? thank you A. Dias -- View this message in context:
2011 Jan 04
5
Help with "For" instruction
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 So I have "a" a<-c(1,2,3,4,5) and I want a1 that shoud have (2,3,4,5) a2 that should have (1,3,4,5) a3 that should have (1,2,4,5) a4 that should have (1,2,3,5) a5 that should have
2011 Jan 18
4
Relative frequency on a character vector
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 use nchar(A) que gives me the number 50. With this function he is counting all the letters present and also spaces between the words. Can we also not count the spaces between words? Then
2008 Jan 26
1
Loosing IAX/SIP user's registration with asterisk as no-root
...to destination) And in the asterisk console the call is inmidiatly redirected to user's voicemail When this happens, I issue a reload command and everything gets back to normal. This is wired, before I was using the same version installed as root, and this behaviour wasn't present. Any adias? Thanks in advace!
2011 Feb 01
3
sum the values in a vector as a complete number
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 = 322. I've searched a function like strsplit but that worked for integers and in reverse - not spliting but combining. Can you give me a hand on this please? thanks AD -- View this message in
2011 Jan 06
2
Help with IF operator
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 the", nro, "teams names \n") teams<-readLines(n=nro) if (teams[1]==teams[2)next else print(teams) } On this example I only compare teams 1 name with teams 2 name, and if they
2007 Aug 13
1
p value statistic for lm object
Hi, I conduct a univariate regression with lm function. I would like to get the p value for the regression. Is there a method that would enable me to extract the p value into a variable. Thanks. Arjun Bhandari ************************************************************************************************************** This email and any files transmitted with it are confidentia...{{dropped}}
2010 Dec 31
1
Silhouette function problem
Hi, I am using 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: Error in summary(silhouette(cutree(d, x), dist(iris[, -5])))$si.summary : $ operator is invalid for atomic vectors the code I am using is: avgs<-sapply(1:20,function(x) summary(silhouette(cutree(d,x),
2004 Aug 06
1
compression rate
Hi, I am very fresh man at CODEC part.. I wanna know SPEEX's compression rate.. to say , I tested wav file at 8000 Hz, 8bits to spx file.. I hoped 1/16 compression rate more.. but,, the result was not good for me.. to say example.. I made wav file of 254Kb at 8000Hz , 8bits ...and then encode that file.. the result was that spx file of 33.7Kb is made... so, I though that compression rate
2011 Jan 05
1
List to a summary table
Hi Suppose you have the code below. The result I get from the cat function is from the avgs object. Now, I have 30 diferent objects like this and I wish to make a summary table, something like: Avgs1 Avgs2 Avgs3 i= 2 average= 0.515983i i= 2 average= 0.746983 i= 2 average= 0.2665983 i= 3 average=