79086961

Date: 2024-10-14 16:37:15
Score: 3.5
Natty:
Report link

Is this what you are looking for?

library(tidyverse)

data %>% 
  select(
    ., 
    - any_of(
      select(., matches('^cx[12]')) %>% keep(~ sum(.x) == 0) %>% names()
    )
  )
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Is this
  • Low reputation (0.5):
Posted by: maike