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

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.

主站蜘蛛池模板: 锦州市| 游戏| 包头市| 宿州市| 伊春市| 渭南市| 泰州市| 香港 | 朝阳县| 双峰县| 赣榆县| 道孚县| 宁陕县| 繁峙县| 邳州市| 孟州市| 兰州市| 双柏县| 礼泉县| 明光市| 甘谷县| 卢龙县| 米林县| 淮阳县| 修水县| 渭南市| 清远市| 淅川县| 宿松县| 舟曲县| 龙岩市| 广灵县| 湘乡市| 卓资县| 泰兴市| 泾川县| 石门县| 安图县| 崇信县| 清丰县| 秦安县|