Consider the list:
mylist=structure(list(quem = 1:10, quer = c(1.1, 2.1, 3.1, 4.1, 5.1),
isso = structure(list(X__1 = c(1, 2, 3, 4, 5, 6, 7, 8, 9,
10, 11, 12), X__2 = c(123, 456, 789, 1122, NA, 1788, NA,
2454, 2787, NA, 3453, 3786), X__3 = c("a", NA, "a", NA, NA,
"a", "a", NA, "a", "a", "b", "b")), .Names = c("X__1", "X__2",
"X__3"), row.names = c(NA, -12L), class = "data.frame")), .Names =
c("quem",
"quer", "isso"))
Objective 1 : remove elements of mylist
that contain the particle qu
Goal 2 : remove elements from mylist
that are of class data.frame
These objectives are mutually exclusive. That is, each goal must have a function.