- 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:
推薦閱讀
- 玩轉智能機器人程小奔
- Oracle SOA Governance 11g Implementation
- 21天學通JavaScript
- Security Automation with Ansible 2
- 可編程控制器技術應用(西門子S7系列)
- 自動生產線的拆裝與調試
- Azure PowerShell Quick Start Guide
- Chef:Powerful Infrastructure Automation
- 統計挖掘與機器學習:大數據預測建模和分析技術(原書第3版)
- 青少年VEX IQ機器人實訓課程(初級)
- Java組件設計
- 常用傳感器技術及應用(第2版)
- Cloudera Hadoop大數據平臺實戰指南
- 天才與算法:人腦與AI的數學思維
- Raspberry Pi 3 Projects for Java Programmers