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

  • 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.

主站蜘蛛池模板: 恩平市| 大港区| 萍乡市| 从江县| 岳池县| 五原县| 道真| 久治县| 德江县| 南丰县| 神池县| 钦州市| 芜湖县| 宁陕县| 蒙城县| 固原市| 江安县| 鄂托克前旗| 昌都县| 永丰县| 大悟县| 宾川县| 朝阳区| 吴江市| 临澧县| 三都| 北川| 临泉县| 洛阳市| 开封市| 海宁市| 铜陵市| 射阳县| 安平县| 台东县| 迭部县| 濉溪县| 张家口市| 离岛区| 红河县| 彭泽县|