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

[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

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 murdoch.dun...@gmail.comwrote: On 12-04-25 9:30 AM, Aaditya Nanduri wrote: Hey everyone, I hope this finds you in good cheer. I just have a quick question: What

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 aaditya.nand...@gmail.comwrote: Awesome! cor.text() is what I was looking for! Thank you Duncan! On Wed, Apr 25, 2012 at 9:43 AM, Duncan Murdoch murdoch.dun...@gmail.comwrote: On 12-04-25 9:30 AM, Aaditya

[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

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 gleynes%...@gmail.com Cc: r-help@r-project.org; spec...@stat.berkeley.edu; Uwe Ligges Subject: Re: [R] R not recognized in command line @ Daniel Nordlund : I've also tried the dir that you

Re: [R] R not recognized in command line

2011-01-12 Thread Aaditya Nanduri
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 : Everytime I change the path, I closed all the DOS windows. Yet, R is not recognized

Re: [R] R not recognized in command line

2011-01-12 Thread Aaditya Nanduri
\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']] On Wed, Jan 12, 2011 at 10:43 AM, Aaditya Nanduri aaditya.nand...@gmail.com wrote: Im sorry for the late reply. The output to echo

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
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-help@r-project.org mailing list https

[R] R not recognized in command line

2011-01-04 Thread Aaditya Nanduri
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 version deleted

Re: [R] How to do a trig regression

2010-09-24 Thread Aaditya Nanduri
-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 Hello All, I cant seem to do a trig regression in R. The equation is as follows : y = a+b*(sin((2*pi*x/360) - c))^2

[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
/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Aaditya Nanduri aaditya.nand...@gmail.com [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [R] Historical Libor Rates

2010-07-20 Thread Aaditya Nanduri
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-contained, reproducible code. -- Aaditya

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

[R] Time Variable and Historical Interest Rates

2010-07-13 Thread Aaditya Nanduri
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 HTML version deleted]] __ R-help@r-project.org mailing list