- Hands-On Data Science with R
- Vitor Bianchi Lanzetta Nataraj Dasgupta Ricardo Anjoleto Farias
- 121字
- 2021-06-10 19:12:35
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:
推薦閱讀
- 機器學習及應用(在線實驗+在線自測)
- Spark編程基礎(Scala版)
- Managing Mission:Critical Domains and DNS
- PIC單片機C語言非常入門與視頻演練
- 深度學習中的圖像分類與對抗技術
- 大數據處理平臺
- 塊數據5.0:數據社會學的理論與方法
- Docker High Performance(Second Edition)
- Linux服務與安全管理
- 網絡安全與防護
- PostgreSQL 10 Administration Cookbook
- Docker on Amazon Web Services
- Visual C++項目開發案例精粹
- Salesforce Advanced Administrator Certification Guide
- 精通LabVIEW程序設計