?complete.cases
On 10/28/06, Tong Wang <wangtong@usc.edu> wrote:>
> Hi,
> I have a data set (data frame) describing some features of the
> students in a high school in the following format:
>
> Stu ID Year feature 1 feature 2 .............
> 1001 1990
> 1001 1991
> 1001 1992
> 1002 1990
> 1002 1991
> 1002 1992
>
>
> Some features of a few of these students are missing, I would like to
> ignore those students in my analysis, but
> I really can' t figure out a neat way to do this in R. I need to
remove
> all the info. of a student (indicated by ID no.) if there
> are NA's in his/her features.
>
> Could someone give me a quick tutorial on this ?
>
> I would really appreciate.
>
> best
>
> ______________________________________________
> R-help@stat.math.ethz.ch 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.
>
--
Jim Holtman
Cincinnati, OH
+1 513 646 9390
What is the problem you are trying to solve?
[[alternative HTML version deleted]]