search for: ambaresearch

Displaying 20 results from an estimated 132 matches for "ambaresearch".

2008 Apr 09
11
Number of words in a string
...words in a string? Example: C="Have a nice day" And the number of words should be 4. any built in function or?... Thanks, Shubha Shubha Karanth | Amba Research Ph +91 80 3980 8031 | Mob +91 94 4886 4510 Bangalore * Colombo * London * New York * San José * Singapore * www.ambaresearch.com This e-mail may contain confidential and/or privileged i...{{dropped:13}}
2010 Aug 30
1
How to Remove Autocorrelation from Simple Moving Average time series
...arima,100);arima$aic; But is there any easy way that we can do in excel?? (Like differencing, dummy variable approach etc) Thanks and Regards, Ramesh Kallol | Amba Research Ph +91 80 3980 8467 | Mob +91 9019720734 Bangalore * Colombo * London * New York * San José * Singapore * www.ambaresearch.com <http://www.ambaresearch.com/> This e-mail may contain confidential and/or privileged i...{{dropped:13}}
2008 May 06
2
To preserve the class "Matrix"
..."integer" > class(a[,1]) [1] "integer" Can in a general way get class(a[1,]) or class(a[,1]) to be "matrix" only? Shubha Karanth | Amba Research Ph +91 80 3980 8031 | Mob +91 94 4886 4510 Bangalore * Colombo * London * New York * San José * Singapore * www.ambaresearch.com This e-mail may contain confidential and/or privileged i...{{dropped:13}}
2008 Feb 06
1
wilderSum
Hi, Can somebody tell me the formula for "?wilderSum" in TTR package? I mean how are these calculated? BR, Shubha Shubha Karanth | Amba Research Ph +91 80 3980 8031 | Mob +91 94 4886 4510 Bangalore * Colombo * London * New York * San José * Singapore * www.ambaresearch.com This e-mail may contain confidential and/or privileged i...{{dropped:13}}
2009 Feb 25
1
how to label the branches of a tree
...text(fit, use.n=TRUE) But I am unable to label the branches (not the nodes) of the tree. Can somebody help me out in this? Thank you, Regards Utkarsh Singhal | Amba Research Ph +91 80 3980 8017 | Mob +91 99 0295 8815 Bangalore * Colombo * London * New York * San José * Singapore * www.ambaresearch.com <mailto:utkarshs@ambaresearch.com> This e-mail may contain confidential and/or privileged i...{{dropped:13}}
2008 Jul 08
8
Sum(Random Numbers)=100
Hi R, I need to generate 50 random numbers (preferably poisson), such that their sum is equal to 100. How do I do this? Thank you, Shubha This e-mail may contain confidential and/or privileged i...{{dropped:13}}
2008 May 13
3
Regular Expressions
...k like: Ans=c("is","three","My") gsub() can do this...but wondering how do I give the regular expression.... Shubha Karanth | Amba Research Ph +91 80 3980 8031 | Mob +91 94 4886 4510 Bangalore * Colombo * London * New York * San José * Singapore * www.ambaresearch.com This e-mail may contain confidential and/or privileged i...{{dropped:13}}
2008 Jun 19
2
Comparison between R and MATLAB
...ween R and MATLAB? How is R efficient than MATLAB? Or what are the weaknesses of R compared to MATLAB? Thank you very much for your help, Shubha Shubha Karanth | Amba Research Ph +91 80 3980 8031 | Mob +91 94 4886 4510 Bangalore * Colombo * London * New York * San José * Singapore * www.ambaresearch.com This e-mail may contain confidential and/or privileged i...{{dropped:13}}
2008 Sep 29
3
Cross-tabulation Question
Hi R, This is a cross tabulation question. Suppose that, > d=read.table("clipboard",header=F) > d V1 V2 V3 A One Apple A One Cake A One Cake B One Apple B One Apple B One Apple > table(d$V2,d$V3) Apple Cake One 4 2 But, I don't want the count to be like the above. Here, it is counting the
2008 Aug 07
3
Downloading Yahoo data
Hi R, I am trying to download the data from R. I give the below command. > library(fImport) > yahooSeries("IBM") trying URL 'http://chart.yahoo.com/table.csv?s=IBM&a=7&b=08&c=2007&d=7&e=07&f=2008& g=d&x=.csv' Error in download.file(url = url, destfile = file, method = method) : cannot open URL
2008 May 13
2
Remove an object by the reference
...wer... x="a" a=5 I need to remove the object "a" by using only x. something like rm(somefunction(x))...Is this possible? Shubha Karanth | Amba Research Ph +91 80 3980 8031 | Mob +91 94 4886 4510 Bangalore * Colombo * London * New York * San José * Singapore * www.ambaresearch.com This e-mail may contain confidential and/or privileged i...{{dropped:13}}
2008 Dec 29
1
How to get unique solution from nnet function
...ame data. If I give rang=0, it solves my problem but I am not sure whether I am doing the right thing. Any comments are welcome. Thank you, Regards Utkarsh Singhal | Amba Research Ph +91 80 3980 8017 | Mob +91 99 0295 8815 Bangalore * Colombo * London * New York * San José * Singapore * www.ambaresearch.com <mailto:utkarshs@ambaresearch.com> This e-mail may contain confidential and/or privileged i...{{dropped:13}}
2008 Jul 23
18
Simple... but...
Hi R, If x=c(1,3,5) y=c(2,4,6) I need a vector which is c(1,2,3,4,5,6) from x and y. How do I do it? I mean the best way.... Thanks, Shubha This e-mail may contain confidential and/or privileged i...{{dropped:13}}
2008 Jul 23
8
sequential sum of a vector...
Hi R, Let, x=1:80 I want to sum up first 8 elements of x, then again next 8 elements of x, then again another 8 elements..... So, my new vector should look like: c(36,100,164,228,292,356,420,484,548,612) I used: aggregate(x,list(rep(1:10,each=8)),sum)[-1] or rowsum(x,group=rep(1:10,each=8)) But without grouping, can I achieve the required? Any other ways of doing
2006 Nov 24
1
Fwd: Dates Conversion/write.foreign
---------- Forwarded message ---------- From: Shubha Vishwanath Karanth <shubhak at ambaresearch.com> Date: Nov 24, 2006 7:54 PM Subject: Dates Conversion/write.foreign To: Shubha Karanth <shubhakaranth at gmail.com>, Shubha Vishwanath Karanth <shubhak at ambaresearch.com> Hi R experts, I need an urgent help... I have an a dataframe caled idat. Below i give a snapshot...
2008 Feb 14
3
Transposing by a group variable
Hi R, Can I transpose a data frame by a particular group variable? For example: d=data.frame(group=c(1,1,2,2,2),val=c(6,4,6,3,5)) And my output should be: data.frame(group=c(1,2),v1=c(6,6),v2=c(4,3),v3=c(NA,5)) Many thanks, Shubha This e-mail may contain confidential and/or privileged i...{{dropped:13}}
2008 Mar 25
3
Dimensions of a List
Hi R, I have a list, l=list(list(c(1,2),c(4,5),c(6,7)),list(c(11,22,33),c(44,55,66))) > l [[1]] [[1]][[1]] [1] 1 2 [[1]][[2]] [1] 4 5 [[1]][[3]] [1] 6 7 [[2]] [[2]][[1]] [1] 11 22 33 [[2]][[2]] [1] 44 55 66 How do I know the dimensions of this list?... In other words, how many sub-lists, sub-sub-lists etc...are there in l? How do I know this?
2008 Mar 20
3
Break up a data frame
Hi R users, I have a dataframe in the below format xyz 01/03/2007 15.25 USD xyz 01/04/2007 15.32 USD xyz 01/02/2008 23.22 USD abc 01/03/2007 45.2 EUR abc 01/04/2007 45.00 EUR
2007 Aug 20
3
Differentiation
Hi, Could anyone tell me what is the command used in R to do 1. Differentiation 2. Newton Raphson method (Numerical Analysis in general...) Are there any packages separately for this? Thanks for your help! BR, Shubha [[alternative HTML version deleted]]
2008 Jun 19
2
Calling R functions into C# or C++
...nctions/routines from C# or C++? If so, how do I do this? Do I need to have some knowledge on DLL to do this? Thanks a lot for your help, Shubha Shubha Karanth | Amba Research Ph +91 80 3980 8031 | Mob +91 94 4886 4510 Bangalore * Colombo * London * New York * San José * Singapore * www.ambaresearch.com This e-mail may contain confidential and/or privileged i...{{dropped:13}}