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

Working with data types and data structures

This section summarizes the most important data types and data structures in R. In this brief overview, we won't discuss them in depth. We will only show a couple of examples that will allow you to understand the code shown throughout this book. If you want to dig deeper into them, you may look into their documentation or some of the references pointed out in this chapter's introduction.

The basic data types in R are numbers, text, and Boolean values (TRUE or FALSE), which R calls numerics, characters, and logicals, respectively. Strictly speaking, there are also types for integers, complex numbers, and raw data (bytes), but we won't use them explicitly in this book. The six basic data structures in R are vectors, factors, matrices, data frames, and lists, which we will summarize in the following sections.

主站蜘蛛池模板: 神池县| 荆州市| 逊克县| 龙山县| 新疆| 瑞安市| 弥渡县| 长垣县| 班玛县| 宁阳县| 徐汇区| 武鸣县| 光泽县| 普格县| 吐鲁番市| 沾化县| 鲁甸县| 凉城县| 万载县| 祁东县| 巴林右旗| 东平县| 巴东县| 晋宁县| 定边县| 嘉鱼县| 兴国县| 寿光市| 海阳市| 阿荣旗| 台中市| 屏东市| 武功县| 翁源县| 浦城县| 台东市| 琼海市| 新泰市| 克山县| 南京市| 长春市|