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 at

[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 the

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

2013-08-02 Thread Raghu Naik
> 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

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 wrote: > I am trying

[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

[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
ducible code. > > > -- > View message @ > http://r.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.com > To unsubscribe from R help, click

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.com > wro

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.com > wrote: > Hi, > > I am very new to R so these questions

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

2010-07-30 Thread Raghu
=portfolio.st)) 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

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

2010-07-29 Thread Raghu
e installed Error: unexpected string constant in "Warning: package 'quantstrat'" This package works with 32-bit and so I had installed a 32-bit before. Can anyone help pls? Update Package did not help either. Thx -- 'Raghu' [[alternative HTML version del

[R] Help on installation of R Packages

2010-07-29 Thread Raghu
R-Forge.R-project.org";)* But non of these packages is getting 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-projec

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.com > wrote: > On Wed, Jul 28, 2010 at 2:10 PM, Raghu <[hidden > email]<http://user/SendEmail.jtp?type=node&node=2305561&i=0>> > wrote:

Re: [R] how to code it??

2010-07-28 Thread Raghu
0 0 0 0 0 0 1 -1 0 1 1 -1 0 1 -1 0 0 1 > > -Matt > > > On Wed, 2010-07-28 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

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.com > wrote: > You've tried: > > diff(c(0, x)) ? > > On Wed, Jul 28, 2010 at 3:10 PM, Raghu <[hidden > email]<http://user/SendE

[R] how to code it??

2010-07-28 Thread Raghu
not a typical R-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

[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

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+2302

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: > >>

[R] vectorisation?

2010-07-26 Thread Raghu
ble 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/posti

[R] scope of an argument in a function

2010-07-15 Thread Raghu
, c("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&

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

2010-07-13 Thread Raghu
17.1 ... $ Low : num 16.7 16.9 16.9 17 17.1 ... $ Close : num 16.7 16.9 16.9 17 17.1 ... $ Volume: num 126 1890000 255 201 252 216 263 297 333 146 ... Thanks Raghu On Tue, Jul 13, 2010 at 12:01 PM, Petr PIKAL wrote: > Hi > > r-help-boun...@r-p

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

2010-07-12 Thread Raghu
tate 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-p

[R] a small puzzle?

2010-07-12 Thread Raghu
t; length(s) [1] 1 str(news1o) num [1: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

[R] in continuation with the earlier R puzzle

2010-07-12 Thread Raghu
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

[R] quantstrat and blotter unavailable

2010-07-10 Thread Raghu
cies, available, lib) : package ‘quantstrat’ is not available > library(blotter) Error in library(blotter) : there is no package called 'blotter' -- 'Raghu' [[alternative HTML version deleted]] __ R-help@r-project.org mail

[R] ttrTests issue in cReturns

2010-07-09 Thread Raghu
while MACD doesnt work. Thanks -- '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

[R] ttrTests Error

2010-07-08 Thread Raghu
e above error when running the cReturns function. Any ideas on this? How does one drill down into finction codes in R? Tx -- 'Raghu' [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.

[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 ht

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.com > wrote: > I am pleased to announce

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

2010-07-07 Thread Raghu
Price1Price2 03/07/2010 5.31200640356.928 04/07/2010 673.070592439.274 05/07/2010 442.467938642.598 06/07/2010 851.915898570.685 07/07/2010 581.859242410.925 Thx On 7/7/10, Erik Iverson wrote: > raghu wrote: &

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

2010-07-07 Thread raghu
e: > > > > On Tue, Jul 6, 2010 at 8:26 PM, Gabor Grothendieck > wrote: >> On Tue, Jul 6, 2010 at 6:18 PM, 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 crea

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 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/

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

2010-07-07 Thread raghu
ssage- >> From: r-help-boun...@r-project.org [mailto:r-help-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

[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
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