[R] Newbie question

cruz cruadam at gmail.com
Sun Jan 4 05:07:23 CET 2009


abntest[abntest$abntesr > 90,]


On Sun, Jan 4, 2009 at 11:55 AM,  <greggallen at gmail.com> wrote:
> Hi:
>
> I'm loading in students test scores with:
>
>> abntest <- read.table("scores.txt")
>
> if I type:
>
>>abntest
>
> I get ALL the values.  I want to be able to filter it by various things such as:
>
>
> if( abntesr > 90) Print abntest;
>
> and other logical operators.  I'm sure this is simple for someone experienced.
>
>
> Thanks,
>
> Gregg Allen
>
> ______________________________________________
> 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