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

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.

主站蜘蛛池模板: 安远县| 遵化市| 菏泽市| 双峰县| 吴川市| 军事| 刚察县| 伊宁市| 花莲市| 中牟县| 皋兰县| 阳高县| 崇信县| 苗栗市| 香河县| 金堂县| 南靖县| 永宁县| 江安县| 咸宁市| 天全县| 阜阳市| 油尖旺区| 勃利县| 晴隆县| 无为县| 资阳市| 富宁县| 荔波县| 天柱县| 灵武市| 旬阳县| 攀枝花市| 中江县| 林西县| 临夏市| 日土县| 武隆县| 天长市| 潮安县| 清原|