79595084

Date: 2025-04-27 13:37:34
Score: 1
Natty:
Report link

mutate_if() is another option.

DF <- DF |> 
  mutate_if(is.character, as.factor) |>
  mutate_if(is.factor, as.numeric)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: MetehanGungor