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

Creating a data frame and accessing its properties

A data frame in R is also a two-dimensional arrangement like a matrix, but it can contain a combination of data types in different columns. One column could be numeric, another column could be character. A data frame can be considered as a natural generalization of a matrix in R. In this recipe, you will learn how to create a data frame and how to access various columns and/or elements of it.

主站蜘蛛池模板: 虞城县| 嘉义市| 秦安县| 武鸣县| 宜章县| 潮州市| 灵寿县| 横山县| 类乌齐县| 海盐县| 南宫市| 昂仁县| 德州市| 昌吉市| 巧家县| 滕州市| 迁安市| 内黄县| 拉萨市| 开化县| 临夏县| 栾川县| 嘉兴市| 洪雅县| 长白| 乐安县| 景洪市| 砀山县| 石渠县| 敦化市| 翁源县| 龙门县| 万年县| 竹山县| 巫溪县| 永定县| 江西省| 沧州市| 黄骅市| 千阳县| 茶陵县|