r - 如何用R中的空格替换“_”?
问题描述
水平(问题$价值)
“其他” “Custom_and_Tax_Issues” “Copying_Design” “Dealing_with_buyers”
我想用“自定义和税务问题”等空格替换 _
有什么办法吗?
解决方案
values <- c("Others", "Custom_and_Tax_Issues", "Copying_design", "Dealing_with_buyers")
gsub("_", " ", values)
推荐阅读
- jena - 在 Jena TDB 数据集中更新本体时发生 Jena Riot 异常
- swift - XCUITest 无法识别警报
- python - python多处理模块导致无限循环
- r - 完成间隔和填充列
- angular - Angular HttpClient+firebase-页面刷新后如何保持记录状态
- angular - Angular 中的异步工厂提供程序和组件注入
- java - 有爪子和没有爪子的输出有什么区别?
- circuit-sdk - 将文件(图片)附加到对话中
- mongodb - 对嵌套对象集合的 Azure mongodb 查询未按预期工作
- reactjs - 未捕获的类型错误:映射函数不适用于数组变量