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

Popular posts from this blog

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -