Skip to content
Prev 244281 / 398506 Next

how to strip list from NA values looking only at one column ?

Are you using a 'dataframe' instead of a 'list"?

If it is a dataframe, then the following will work:

df <- df[!is.na(df$z), ]  # only keep rows without z == NA
On Wed, Dec 8, 2010 at 5:16 AM, madr <madrazel at interia.pl> wrote: