[R] Leave one out procedure - R

John Kane jrkrideau at inbox.com
Tue Jul 7 01:52:51 CEST 2015


Hi Vyshnnavi,

I'd suggest having a look at http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example and http://adv-r.had.co.nz/Reproducibility.html for some hints on how to ask questions on the R-help List.

At the moment I don't think you have supplied enough information, code, and data for people to easily answer your questions.

BTW if you are supplying sample data the best way is to use the dput() function. It provides an exact copy of the data set that you are working with. 

Sorry not to be of any substantive help.



John Kane
Kingston ON Canada


> -----Original Message-----
> From: vyshnnaviammu at gmail.com
> Sent: Mon, 6 Jul 2015 08:56:52 -0700
> To: r-help at r-project.org
> Subject: [R] Leave one out procedure - R
> 
> Hello,
> I am still in the process of familiarizing myself with R, pardon me if
> this
> is basic. I want to run a leave one out procedure for a 40 member
> dataset.
> At the moment I am doing it via a simple for loop. I wanted to know if
> there is a superior way to do it. I read about the loocv command here -
> http://artax.karlin.mff.cuni.cz/r-help/library/DMwR/html/loocv.html.
> Since
> I need to save the output generated in each iteration, I am not very sure
> how exactly to implement the same using the loocv command. If you could
> give me an insight into how to do it/ suggest quicker ways to do leave
> one
> out cross validation, it would be really helpful!
> 
> Thanks,
> Vyshnnavi
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.

____________________________________________________________
GET FREE 5GB EMAIL - Check out spam free email with many cool features!
Visit http://www.inbox.com/email to find out more!



More information about the R-help mailing list