I have a list and I want to remove all the rows with "Volvo 142E"
from data
. any help will be appriciated.
data("mtcars")
rownames(mtcars)
data <- list(mtcars ,mtcars, mtcars, mtcars);data
out1 <- NULL
for(i in seq_along(data)) {
out1[[i]] <- data[[i]][!(rownames(data[[i]]) %in% data[[i]] == "Volvo 142E" ), ]
}
out1
many thanks in advance