r - Deleting All Rows That Have A Certain Value For One Column -
i have data frame 45 columns , 13970 rows. want delete of rows have 0 value 1 of columns.
i have tried subset(dataframe, column!=0) , dataframe[!dataframe$column == 0, ]
but neither of these work. when use subset function, deletes of rows have na column, need retain rows.
how can delete rows have 0 in 1 particular column?
Comments
Post a Comment