Re: [R] instal tar.gz package on windows

2014-04-24 Thread Raghu
The discussion in the forum solves your issue http://stackoverflow.com/questions/1474081/how-do-i-install-an-r-package-from-source Raghu On Thu 24 Apr 2014 08:26:33 PM CEST, KD Makatjane wrote: Good evening sir/madam My name is katleho makatjane. I am currently a B.com statistics student

[R] flowDensity package

2014-04-09 Thread Raghu
I am unable to install flowDensity package from bioconductor in R version 3.0 or 3.1. did anyone have the same problems with this. Thanks, Raghu __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] Creating DAGS with plate notation in R

2013-08-02 Thread Raghu Naik
, 0.6, 4.4, 1.6 ) # Add labels: text(3.1, 1.9, M) text(3.5, 1.5, N) dev.off() --- Sacha Epskamp, MSc Department of Psychological Methods University of Amsterdam Weesperplein 4, room 2.05 1018 XA Amsterdam The Netherlands http://www.sachaepskamp.com 2013/7/2 Raghu Naik naik.ra

[R] Creating DAGS with plate notation in R

2013-07-02 Thread Raghu Naik
figure made in graphviz by a poster on stackoverflow. I am not sure if this can be replicated in Rgraphviz - I was not able to get there. I would appreciate any help. Thanks. Raghu [[alternative HTML version deleted]] __ R-help@r-project.org

Re: [R] Creating DAGS with plate notation in R

2013-07-02 Thread Raghu Naik
The image did not come through as pointed out by a list member. I have attached a pdf image file; the link is http://stackoverflow.com/questions/3461931/software-to-draw-graphical-models-in-plate-notation . Cheers. Raghu On Tue, Jul 2, 2013 at 9:42 AM, Raghu Naik naik.ra...@gmail.com wrote

[R] Matching from a dissimilarity / similarity matrix

2011-02-09 Thread Raghu Naik
. Raghu [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self

[R] Problem with installing RWinEdt on Win 7

2010-11-27 Thread Raghu Naik
I am having problems installing RWinEdt on a Windows 7 machine after upgrading to R 2.12 and running R as an administrator. I have WinEdt 5.x installed on my machine (no WinEdt 6). Please see the r session as below. Would appreciate any feedback. Thx.

Re: [R] Is there paid support for R?

2010-08-02 Thread raghu
.789695.n4.nabble.com/Is-there-paid-support-for-R-tp2310258p2310258.html To start a new topic under R help, email ml-node+789696-608741344-309...@n4.nabble.comml-node%2b789696-608741344-309...@n4.nabble.com To unsubscribe from R help, click here (link removed) . -- 'Raghu' -- View

[R] finding a function or a line while debugging?

2010-07-30 Thread Raghu
)) Error in is.array(x) : 'x' is missing Thx -- 'Raghu' [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting

Re: [R] Data Handling

2010-07-30 Thread raghu
Convert your datasets into xts objects and then do a cbind ordering by the column you want. Do a ?cbind. HTH Raghu On Fri, Jul 30, 2010 at 10:33 AM, Lily_stats [via R] ml-node+2307770-1033893256-309...@n4.nabble.comml-node%2b2307770-1033893256-309...@n4.nabble.com wrote: Hi, I am very new

Re: [R] Data Handling

2010-07-30 Thread raghu
Please try: data - xts(data[,2:n], order.by=as.POSIXct(strptime(data[,1], %d/%m/%Y))) Use similar strptime for hours also.n=number of columns. Good Luck Raghu On Fri, Jul 30, 2010 at 2:02 PM, Lily_stats [via R] ml-node+2307936-1777222343-309...@n4.nabble.comml-node%2b2307936-1777222343-309

[R] Help on installation of R Packages

2010-07-29 Thread Raghu
loaded. I tried re-installing R as well but that did not help. Can someone kindly help please? Thx -- 'Raghu' [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

[R] Installing a newer version of a package - problems

2010-07-29 Thread Raghu
did not help either. Thx -- 'Raghu' [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide

[R] finding the next highest number in an array

2010-07-28 Thread Raghu
(to get 79 which is the next highest to 67) without using a for loop? Thx -- 'Raghu' [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http

[R] how to code it??

2010-07-28 Thread Raghu
-forum question then my advance apologies. Many thx -- 'Raghu' [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org

Re: [R] how to code it??

2010-07-28 Thread raghu
Thanks Henrique. On Wed, Jul 28, 2010 at 9:20 PM, Henrique Dallazuanna [via R] ml-node+2305552-1908682012-309...@n4.nabble.comml-node%2b2305552-1908682012-309...@n4.nabble.com wrote: You've tried: diff(c(0, x)) ? On Wed, Jul 28, 2010 at 3:10 PM, Raghu [hidden email]http://user

Re: [R] how to code it??

2010-07-28 Thread Raghu
at 14:10 -0400, Raghu wrote: Hi I have say a large vector of 3500 digits. Initially the digits are 0s and 1s. I need to check for a rule to change some of the 0s to -1s in this vector. But once I change a 0 to -1 then I need to start applying the rule to change the next 0 only after I see

Re: [R] how to code it??

2010-07-28 Thread raghu
Thanks Gabor. On Wed, Jul 28, 2010 at 9:24 PM, Gabor Grothendieck [via R] ml-node+2305561-610338075-309...@n4.nabble.comml-node%2b2305561-610338075-309...@n4.nabble.com wrote: On Wed, Jul 28, 2010 at 2:10 PM, Raghu [hidden email]http://user/SendEmail.jtp?type=nodenode=2305561i=0 wrote

[R] vectorisation?

2010-07-26 Thread Raghu
to replicate the above faster in R? -- 'Raghu' [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html

Re: [R] vectorisation?

2010-07-26 Thread Raghu
Many thanks Dimitris. On Mon, Jul 26, 2010 at 9:13 AM, Dimitris Rizopoulos d.rizopou...@erasmusmc.nl wrote: have a look at function rollapply() from package zoo. I hope it helps. Best, Dimitris On 7/26/2010 8:28 AM, Raghu wrote: Hi I have 3500 rows of data (say a single column

Re: [R] what is a vignette?

2010-07-26 Thread raghu
vignette is an R jargon for documentation. try ?vignette. Not all packages come with vignettes. You may want to install a package and go to the installed directory to see if any examples are given for the same. HTH Raghu On Mon, Jul 26, 2010 at 12:56 PM, alaios [via R] ml-node+2302242

[R] scope of an argument in a function

2010-07-15 Thread Raghu
(Open,Close)] d - expr.frame(x, list(MAf=quote(SMA(Close, ma1)), MAs=quote(SMA(Close, ma2 } fu(spx,60,120) Error in runSum(x, n) : object 'ma1' not found Thanks for your kind help. -- 'Raghu' [[alternative HTML version deleted]] __ R

Re: [R] in continuation with the earlier R puzzle

2010-07-13 Thread Raghu
... $ Volume: num 126 189 255 201 252 216 263 297 333 146 ... Thanks Raghu On Tue, Jul 13, 2010 at 12:01 PM, Petr PIKAL petr.pi...@precheza.cz wrote: Hi r-help-boun...@r-project.org napsal dne 12.07.2010 16:09:30: When I just run a for loop it works

[R] in continuation with the earlier R puzzle

2010-07-12 Thread Raghu
in 1:length(news1o)){ + if(news1o[i]s2o[i]) + s[i]-1 + else + s[i]--1 + } -- 'Raghu' [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http

[R] a small puzzle?

2010-07-12 Thread Raghu
:3588] 891 890 890 888 886 ... str(s2o) num [1:3588] 895 892 890 888 885 ... -- 'Raghu' [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] in continuation with the earlier R puzzle

2010-07-12 Thread Raghu
Oregon State University Corvallis, OR 97331 ph: 541-737-6232 fx: 541-737-1393 -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Ted Harding Sent: Monday, July 12, 2010 9:36 AM To: r-help@r-project.org Cc: Raghu Subject: Re

[R] quantstrat and blotter unavailable

2010-07-10 Thread Raghu
(blotter) Error in library(blotter) : there is no package called 'blotter' -- 'Raghu' [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http

[R] ttrTests issue in cReturns

2010-07-09 Thread Raghu
cr-cReturns(spData,ttr=MACD) Error in ind[t - k] - pos[t - k + 1] - pos[t - k] : replacement has length zero cr-cReturns(spData,ttr=macd4) Why is the above error coming? macd4 works alright ( which is a custom function built by the ttrTests author) while MACD doesnt work. Thanks -- 'Raghu

[R] Help on technical trading rules

2010-07-08 Thread Raghu
not want to reinvent the wheel if such a wheel existed. Thx -- 'Raghu' [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

[R] ttrTests Error

2010-07-08 Thread Raghu
one drill down into finction codes in R? Tx -- 'Raghu' [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting

Re: [R] Adding two files into one and vlookup

2010-07-07 Thread raghu
-boun...@r- project.org] On Behalf Of raghu Sent: Wednesday, 7 July 2010 10:18 a.m. To: r-help@r-project.org Subject: [R] Adding two files into one and vlookup I have two files with dates and prices in each. The number of rows in each of them will differ. How do I create a new file which

Re: [R] Adding two files into one and vlookup

2010-07-07 Thread Raghu
type and then merge works. Correct me if i am wrong? On 7/7/10, Raghu r.raghura...@gmail.com wrote: Say I have two files file and file2: file1 contains the following: Date Price 02/07/201053.96597903 03/07/201056.92825807 04/07/201039.27408645 05/07/2010

Re: [R] Adding two files into one and vlookup

2010-07-07 Thread raghu
-527941373-309...@n4.nabble.com wrote: On Tue, Jul 6, 2010 at 8:26 PM, Gabor Grothendieck ggrothendi...@gmail.com wrote: On Tue, Jul 6, 2010 at 6:18 PM, raghu r.raghura...@gmail.com wrote: I have two files with dates and prices in each. The number of rows in each of them will differ. How do I

Re: [R] Adding two files into one and vlookup

2010-07-07 Thread Raghu
: raghu wrote: I have two files with dates and prices in each. The number of rows in each of them will differ. How do I create a new file which contains data from both these files? Cbind and merge are not helpful. For cbind because the rows are not the same replication occurs. Also if I have

Re: [R] LondonR July Meeting

2010-07-07 Thread raghu
Hello Sarah I am unable to register for this event as the link you had supplied goes nowhere. Any other method of registering pls? Thx Raghu On Wed, Jul 7, 2010 at 8:08 PM, Sarah Lewis-2 [via R] ml-node+2281370-1994523266-309...@n4.nabble.comml-node%2b2281370-1994523266-309...@n4.nabble.com

[R] Adding two files into one and vlookup

2010-07-06 Thread raghu
I have two files with dates and prices in each. The number of rows in each of them will differ. How do I create a new file which contains data from both these files? Cbind and merge are not helpful. For cbind because the rows are not the same replication occurs. Also if I have similar data how do

[R] Updating to 2.9 - ' no slot call in the result'

2009-05-16 Thread Raghu Naik
I updated R (to R-patched) and Zelig and the problem went away. Raghu [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

[R] Updating to 2.9 - ' no slot call in the result'

2009-04-28 Thread Raghu Naik
I have updated to R version 2.9. I also have R version 2.7 running on the same box. I get the following error in R 2.9; the command goes through without any errors in R 2.7. Would appreciate any feedback. Raghu

[R] Comparing Sample / Population Geographic Distributions

2009-04-07 Thread Raghu Naik
factor is insignificant. I am not exactly satisfied with the results with a huge residual deviance and a sample factor p value of 1.00. Therefore, I was wondering if there was a better approach of making such comparison. I would appreciate any suggestions. Raghu The data / logistic regression code

Re: [R] Random Forest weighting

2008-12-05 Thread Raghu Naik
oversample on the yes values by taking sampsize=c(50,50) I get more or less equal classification error rate of 50% for both the yes and no values. Is there some science to what extent we should oversample on the imbalanced level? Thanks for your reply and all your help. Raghu On 12/4/08, Liaw, Andy

[R] Random Forest weighting

2008-12-03 Thread Raghu Naik
with the sampsize arguement through oversampling? What proportions should one use for this (e.g., sampsize=c(Yes=100, No=100))? I would appreciate any feedback or pointers to any earlier thread that I may have overlooked. Regards, Raghu __ R-help@r-project.org