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

  • R Programming By Example
  • Omar Trejo Navarro
  • 146字
  • 2021-07-02 21:30:36

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.

主站蜘蛛池模板: 徐州市| 林周县| 饶平县| 中山市| 温宿县| 吉安市| 沿河| 纳雍县| 清水河县| 类乌齐县| 敦化市| 江孜县| 滦南县| 临沂市| 泽库县| 图们市| 宣城市| 蒙阴县| 虹口区| 嘉定区| 晋城| 杨浦区| 房产| 昌平区| 丰原市| 长治县| 平乡县| 泰顺县| 公主岭市| 高清| 江永县| 天台县| 阳原县| 普兰县| 尤溪县| 永仁县| 永福县| 孝昌县| 油尖旺区| 酒泉市| 五大连池市|