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

Using base R for data manipulation and analysis

Base R provides some extremely helpful functions for day-to-day data analysis. Some such examples have been provided in this section, but are by no means exhaustive. Further details will be available in subsequent chapters, but the corresponding information is intended to provide a general overview of some of base R's capabilities. The structure of a DataFrame can be viewed using the str command.

You can view the structure of data.frame using the str command. This is often the first starting point (after reading a file if applicable) in order to see what your dataset looks like:

# View the structure of the state data.frame 
str(state) 

The output is as follows:

主站蜘蛛池模板: 安溪县| 金寨县| 章丘市| 平邑县| 宿松县| 清水河县| 安龙县| 通化市| 东乌珠穆沁旗| 马鞍山市| 东明县| 南丹县| 团风县| 武陟县| 莫力| 甘洛县| 石景山区| 鄂伦春自治旗| 承德市| 湖州市| 陆良县| 搜索| 台东县| 邵武市| 天峨县| 白银市| 和田县| 馆陶县| 汤原县| 土默特右旗| 万安县| 湖南省| 杭州市| 嘉义县| 靖安县| 青海省| 专栏| 平顺县| 昌都县| 通许县| 城固县|