powered by
Grepl applied on a data.frame
grepl.data.frame(pattern, x, ...)
a logical matrix
search pattern
your data.frame
addtitional arguments for gerpl()
matrix(letters[1:6], 2, 3) |> as.data.frame() -> a grepl.data.frame("c", a) grepl.data.frame("\\w", a)
Run the code above in your browser using DataLab