Answers for "remove row if any na in column r"

1

r remove rows where value is 0

data <- data[data$undesirable != 0,]
Posted by: Guest on July-12-2021
1

remove null values from a column in r

df[!(is.na(df$start_pc) | df$start_pc==""), ]
Posted by: Guest on April-07-2021

Browse Popular Code Answers by Language