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

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.

主站蜘蛛池模板: 乌审旗| 福安市| 公安县| 神池县| 常山县| 嘉善县| 来安县| 即墨市| 东至县| 晋江市| 友谊县| 鄂托克旗| 绥棱县| 杭锦旗| 绿春县| 永安市| 伊吾县| 宣恩县| 武城县| 瑞昌市| 绥宁县| 安图县| 长顺县| 龙井市| 筠连县| 西乌珠穆沁旗| 盖州市| 铜梁县| 阿瓦提县| 东方市| 黔西| 无棣县| 庄河市| 奉化市| 常德市| 永吉县| 景德镇市| 抚松县| 双江| 元氏县| 泗洪县|