Re: [R] Scoring a test set after clustering a training set

2014-05-27 Thread Aaditya Nanduri
Hi Barry, I don't think pam has a way to predict for test observations. However, this questions was asked and answered earlier. The approach is to take the medoids generated in pam and use them in a K-nn algorithm as the training data with K = 1. This way, you can classify your testing data by id

[R] How to optimize or build a better random forest?

2012-10-16 Thread Aaditya Nanduri
Hello Everyone! It's been a while since I last posted a question! Hope everyone has been doing well! ~~~ CONTEXT ~~~ I have recently entered a beginner-level competition on kaggle. The goal of the competition is to build a model that predicts who did/did not survive on the Titanic. I d

Re: [R] Where to find the p-value of a correlation test

2012-05-01 Thread Aaditya Nanduri
Im sorry. I meant cor.test() On Tue, May 1, 2012 at 6:16 PM, Aaditya Nanduri wrote: > Awesome! cor.text() is what I was looking for! Thank you Duncan! > > > On Wed, Apr 25, 2012 at 9:43 AM, Duncan Murdoch > wrote: > >> On 12-04-25 9:30 AM, Aaditya Nanduri wr

Re: [R] Where to find the p-value of a correlation test

2012-05-01 Thread Aaditya Nanduri
Awesome! cor.text() is what I was looking for! Thank you Duncan! On Wed, Apr 25, 2012 at 9:43 AM, Duncan Murdoch wrote: > On 12-04-25 9:30 AM, Aaditya Nanduri wrote: > >> Hey everyone, >> >> >> I hope this finds you in good cheer. >> >> I just have a

[R] Where to find the p-value of a correlation test

2012-04-25 Thread Aaditya Nanduri
Hey everyone, I hope this finds you in good cheer. I just have a quick question: What is the function that outputs the p-value for correlation? cor(x,y) only provides the R value. I would like the p-value associated with it. Thank you all for your help! [[alternative HTML version dele

Re: [R] R not recognized in command line

2011-01-13 Thread Aaditya Nanduri
> On Behalf Of Aaditya Nanduri > > Sent: Wednesday, January 12, 2011 9:31 PM > > To: gleyne...@gmail.com > > Cc: r-help@r-project.org; spec...@stat.berkeley.edu; Uwe Ligges > > Subject: Re: [R] R not recognized in command line > > > > @ Daniel Nordlun

Re: [R] R not recognized in command line

2011-01-12 Thread Aaditya Nanduri
= %PATH%;C:\Rtools\bin > path = %PATH%;C:\Rtools\MinGW\bin > path = %PATH%;C:\Rtools\perl\bin > > set R_HOME = C:\Program Files\R\R-2.12.1\ > > Third, I found this R command useful for checking the path from within R: > Sys.getenv()[['PATH']] > > > &

Re: [R] R not recognized in command line

2011-01-12 Thread Aaditya Nanduri
end us the output. > > Uwe Ligges > > > > On 08.01.2011 19:29, Aaditya Nanduri wrote: > >> Mr. Gregory : I may have to resort to a roundabout method like yours. I >> just >> cant seem to make it work. Thank you for your help. >> >> Mr. Spector : Everyti

Re: [R] R not recognized in command line

2011-01-08 Thread Aaditya Nanduri
. -- Aaditya Nanduri aaditya.nand...@gmail.com [[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] R not recognized in command line

2011-01-06 Thread Aaditya Nanduri
starting cmd if you want to run something on startup. > > > > You can also use Rcmd.bat, R.bat, Rgui.bat, etc. found at > http://batchfiles.googlecode.com > > Just put any you wish to use anywhere on your path and it will work on > all cmd instances and will also work when you install a new version of > R

[R] R not recognized in command line

2011-01-04 Thread Aaditya Nanduri
(if I were to type 'R' at the prompt in DOS, its not recognized) I would appreciate any help in this matter. Or should I do something else so that I can try rpy2? Python version 2.6.6 R 2.12.1 rpy2 2.0.8 -- Aaditya Nanduri aaditya.nand...@gmail.com [[alternative HTML ve

Re: [R] How to do a trig regression

2010-09-24 Thread Aaditya Nanduri
-Original Message- > > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > > project.org] On Behalf Of Aaditya Nanduri > > Sent: Sunday, September 12, 2010 8:23 PM > > To: r-help@r-project.org > > Subject: [R] How to do a trig regression > > >

[R] How to do a trig regression

2010-09-12 Thread Aaditya Nanduri
, I dont know how to plot the lm over the x values instead of the indices. Any help is sincerely appreciated. Thank you all very much. -- Aaditya Nanduri aaditya.nand...@gmail.com [[alternative HTML version deleted]] __ R-help@r-project.org

Re: [R] Help with time in R

2010-07-21 Thread Aaditya Nanduri
do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Aaditya Nanduri aaditya.nand...@gmail.com [[alternative HTML version deleted]] __ R-h

Re: [R] Historical Libor Rates

2010-07-20 Thread Aaditya Nanduri
gle search > tool, look at http://www.google.com/. > > Good luck. > > Marsh Feldman > > On 7/20/2010 6:00 AM, r-help-requ...@r-project.org wrote: > > Date: Mon, 19 Jul 2010 15:21:01 -0400 > > From: Aaditya Nanduri > > To:r-help@r-project.org > >

[R] Historical Libor Rates

2010-07-19 Thread Aaditya Nanduri
Hello All, Does anyone know how to download historical LIBOR rates of different currencies into R? Or if anyone knows of a website that holds all this data...I only need up to january of 2000. Also, how can we make the row names the index of a plot (the names of the x values)? [[alterna

[R] Time Variable and Historical Interest Rates

2010-07-13 Thread Aaditya Nanduri
a website into R if you know the url. Would this help in getting the interest rates of other countries? (I believe the function is aptly named "url"). Could someone provide an example, please? All help is very much appreciated. Sincerely, Aaditya Nanduri [[alternative