摘要: paste函数和paste0()函数 连接字符 > paste("a", 1:3) #默认空格符连接,即sep=" " [1] "a 1" "a 2" "a 3" > paste("a",1:3, sep = "") #a自动与每个元素连接 [1] "a1" "a2" "a3" > paste("a 阅读全文
posted @ 2023-01-17 23:21 yayagogogo 阅读(68) 评论(0) 推荐(0) 编辑