我如何修改它以添加_
(下划线)代替.
(点)作为其默认值。
> make.names(c("a and b", "a-and-b"), unique = TRUE)
[1] "a.and.b" "a.and.b.1"
I am looking for the following result
"a_and_b" "a_and_b_1"
我如何修改它以添加_
(下划线)代替.
(点)作为其默认值。
> make.names(c("a and b", "a-and-b"), unique = TRUE)
[1] "a.and.b" "a.and.b.1"
I am looking for the following result
"a_and_b" "a_and_b_1"