[R] Dropping variables from data set

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Fri Oct 31 05:48:22 CET 2014


Sounds like homework. See the Posting Guide.
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.

On October 30, 2014 9:27:18 PM PDT, Preetam Pal <lordpreetam at gmail.com> wrote:
> Hi,
>I have 15 variables x1, x2, .... , x15 and I want to create 15 data
>sets where the i-th data set D-i will be contain all variables except
>the variable, x-i, for i in 1 to 15. It would be great if someone can
>help me out with this. I have had very little exposure to R or general
>coding before this.
>Thanks,
>Preetam
>	[[alternative HTML version deleted]]
>
>______________________________________________
>R-help at 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.



More information about the R-help mailing list