0

levels(problem$value)

"Others" "Custom_and_Tax_Issues" "Copying_Design" "Dealing_with_buyers"

I want to replace _ with space such as "Custom and Tax Issues"

Is there any way to do it?

1 Answers1

0
values <- c("Others", "Custom_and_Tax_Issues", "Copying_design", "Dealing_with_buyers")

gsub("_", " ", values)
useR
  • 48
  • 6