【发布时间】:2021-10-10 00:59:58
【问题描述】:
级别(问题$值)
“其他”“Custom_and_Tax_Issues”“Copying_Design”“Dealing_with_buyers”
我想将 _ 替换为空格,例如“Custom and Tax Issues”
有什么办法吗?
【问题讨论】:
标签: r special-characters
级别(问题$值)
“其他”“Custom_and_Tax_Issues”“Copying_Design”“Dealing_with_buyers”
我想将 _ 替换为空格,例如“Custom and Tax Issues”
有什么办法吗?
【问题讨论】:
标签: r special-characters
values <- c("Others", "Custom_and_Tax_Issues", "Copying_design", "Dealing_with_buyers")
gsub("_", " ", values)
【讨论】: