The dataframe is id salary 100 500 101 600 102 700 103 800 how can i generate a subsets if salary>600? -- View this message in context: http://r.789695.n4.nabble.com/Filtering-in-R-tp2299603p2299603.html Sent from the R help mailing list archive at Nabble.com.
Agian, Plead read the bottom of this email. Also, it looks like you should read An Introduction to R. On Thu, Jul 22, 2010 at 7:52 PM, jd6688 <jdsignature at gmail.com> wrote:> > The dataframe is > > id ? ? ?salary > 100 ? ?500 > 101 ? ?600 > 102 ? ?700 > 103 ? ?800 > > how can i generate a subsets if salary>600? > > > > -- > View this message in context: http://r.789695.n4.nabble.com/Filtering-in-R-tp2299603p2299603.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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. >-- Stephen Sefick ____________________________________ | Auburn University? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? | | Department of Biological Sciences? ? ? ? ?? | | 331 Funchess Hall? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | | Auburn, Alabama? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? | | 36849? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | |___________________________________| | sas0025 at auburn.edu? ? ? ? ? ? ? ? ? ? ? ? ? ?? | | http://www.auburn.edu/~sas0025? ? ? ? ? ?? | |___________________________________| Let's not spend our time and resources thinking about things that are so little or so large that all they really do for us is puff us up and make us feel like gods.? We are mammals, and have not exhausted the annoying little problems of being mammals. ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? -K. Mullis
?subset HTH, Jorge On Thu, Jul 22, 2010 at 8:52 PM, jd6688 <> wrote:> > The dataframe is > > id ? ? ?salary > 100 ? ?500 > 101 ? ?600 > 102 ? ?700 > 103 ? ?800 > > how can i generate a subsets if salary>600? > > > > -- > View this message in context: http://r.789695.n4.nabble.com/Filtering-in-R-tp2299603p2299603.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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. >
On Jul 22, 2010, at 9:06 PM, stephen sefick wrote:> Agian, Plead read the bottom of this email. Also, it looks like you > should read An Introduction to R.It certainly does appear this poster needs to do both.> > On Thu, Jul 22, 2010 at 7:52 PM, jd6688 <jdsignature at gmail.com> wrote: >> >> The dataframe is >> >> id salary >> 100 500 >> 101 600 >> 102 700 >> 103 800 >> >> how can i generate a subsets if salary>600??subset subset(DF, salary >600) -- David Winsemius, MD West Hartford, CT