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

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:

主站蜘蛛池模板: 云南省| 中卫市| 华坪县| 都昌县| 泸溪县| 津市市| 平度市| 新沂市| 赤峰市| 宁武县| 连城县| 漳浦县| 团风县| 淮安市| 澄迈县| 文安县| 新和县| 洛浦县| 广南县| 库车县| 黄陵县| 长子县| 绥芬河市| 潮州市| 繁峙县| 昌平区| 葵青区| 普兰店市| 碌曲县| 鹤山市| 陕西省| 惠安县| 揭阳市| 玉溪市| 阿坝| 虹口区| 团风县| 光山县| 桂东县| 霍林郭勒市| 河源市|