【R language】 清楚区分输出函数 cat、print、paste 区别 经验分享
一、 简介cat、print函数都是输出函数> cat("hello world")hello world>> print("hello world")[1] "hello world"print的输出有点像列表输出的未命名元素> alist=list(c(1,2,3,4,5),c('a','b','c','d','e'))> alist[[1]][1] 1 2 3 4 5[[2]][1] "a" "b" "c" "d" "e"二、 print与c
原创
2020-07-18 20:44:45 ·
14469 阅读 ·
0 评论