You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
grepl is used to match data.frame columns with clustering information. If the prefix contains a wildcard character (e.g. ".") that can lead to matching incorrect columns.
A simple solution would be to add fixed = TRUE.
grepl(prefix, colnames(x), fixed=TRUE)
The text was updated successfully, but these errors were encountered:
grepl
is used to match data.frame columns with clustering information. If the prefix contains a wildcard character (e.g. ".") that can lead to matching incorrect columns.A simple solution would be to add
fixed = TRUE
.The text was updated successfully, but these errors were encountered: