官术网_书友最值得收藏!

Creating lists

We can create a list using list() or by concatenating other lists:

x<- list(1:4,"book",TRUE, 1+4i)
x
## [[1]]
## [1] 1 2 3 4
##
## [[2]]
## [1] "book"
##
## [[3]]
## [1] TRUE
##
## [[4]]
## [1] 1+4i

Components will always be referred to by their referring numbers as they are ordered and numbered.

主站蜘蛛池模板: 肇庆市| 孟村| 黄山市| 信丰县| 孝义市| 香格里拉县| 临西县| 贵港市| 旅游| 蛟河市| 普格县| 新巴尔虎右旗| 区。| 繁昌县| 烟台市| 九龙坡区| 木兰县| 重庆市| 中西区| 冷水江市| 河西区| 连城县| 民和| 北安市| 邻水| 称多县| 南丹县| 荣昌县| 漯河市| 桂阳县| 郓城县| 嵊泗县| 禹州市| 高安市| 江华| 尼勒克县| 和硕县| 衡阳市| 上杭县| 河池市| 漾濞|