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

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.

主站蜘蛛池模板: 呈贡县| 乌苏市| 昌吉市| 峨山| 宁乡县| 兴安盟| 株洲市| 西充县| 福海县| 隆尧县| 合江县| 策勒县| 廊坊市| 安泽县| 长垣县| 合阳县| 南宫市| 安西县| 华阴市| 南木林县| 崇礼县| 历史| 阿拉尔市| 昭觉县| 丹江口市| 南靖县| 溧水县| 准格尔旗| 瑞丽市| 舞阳县| 灯塔市| 专栏| 察哈| 奇台县| 峡江县| 饶阳县| 许昌市| 墨玉县| 昌邑市| 张家口市| 涪陵区|