Skip to content
Snippets Groups Projects
Commit 7b1501af authored by dj44vuri's avatar dj44vuri
Browse files

added namespace to contains()

parent 36cd9c72
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ as.data.frame(designf)
read_test() %>%
tibble::rownames_to_column(var = "row_id") %>%
dplyr::filter(!grepl("no.choice", row_id)) %>% # Exclude no.choice rows
dplyr::select(!contains("cte")) %>% # Drop unnecessary columns
dplyr::select(!dplyr::contains("cte")) %>% # Drop unnecessary columns
dplyr::mutate(
# Extract Choice.situation as number after 'set'
Choice.situation = as.integer(sub("^set(\\d+).*", "\\1", row_id)),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment