Answers for "remove data with row numbers r"

1

r remove rows where value is 0

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

remove rows in r based on row number using dplyr

df %>% slice(2:7)
Posted by: Guest on November-03-2020

Browse Popular Code Answers by Language