I was just wondering if it was possible to just wild card in select for Dplyr
H3_m <- fd %>%
select(c(M_DV*)) %>%
na.omit
fd <- fd %>%
rowwise() %>%
mutate(DV = mean(c(M_DV*), na.rm = TRUE),
)
I was just wondering if it was possible to just wild card in select for Dplyr
H3_m <- fd %>%
select(c(M_DV*)) %>%
na.omit
fd <- fd %>%
rowwise() %>%
mutate(DV = mean(c(M_DV*), na.rm = TRUE),
)