79224092

Date: 2024-11-25 17:50:57
Score: 3.5
Natty:
Report link

Found it meanwhile and it works. Still don't get what the 1 margin does?

df$x<- apply(constats, 1, function(row) ifelse(any(row == 1), 1, 0))

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: ALaure M.