[R] Filtering in R
David Winsemius
dwinsemius at comcast.net
Fri Jul 23 04:25:23 CEST 2010
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
More information about the R-help
mailing list