[R] Manipulating the output from read.spss

Thomas Lumley tlumley at u.washington.edu
Mon Dec 16 21:27:03 CET 2002


On Mon, 16 Dec 2002 SMarkandsusan at aol.com wrote:

> This seems like a problem that others may have run into before. I got a
> merged dataset from SPSS. It has ~750 columns X 3400 rows. Most of the cell
> entries are NA. There are about 375 rows that contain observations on all
> variables and I want to extract this subset from the original list (of
> lists). I'm pretty sure I can do it programmatically in R but it will take me
> a few hours to write and debug. Before I start down that road I thought I'd
> ask if anyone had already tackled this particular type problem already.


The na.omit() function removes rows from a dataframe that have any missing
values.

	-thomas




More information about the R-help mailing list