- 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:
推薦閱讀
- 輕輕松松自動化測試
- CentOS 8 Essentials
- ESP8266 Home Automation Projects
- 聊天機器人:入門、進階與實戰(zhàn)
- Deep Reinforcement Learning Hands-On
- Windows Server 2008 R2活動目錄內(nèi)幕
- 新編計算機圖形學(xué)
- Containers in OpenStack
- Photoshop行業(yè)應(yīng)用基礎(chǔ)
- 會聲會影X4中文版從入門到精通
- 無人駕駛感知智能
- 電氣控制及Micro800 PLC程序設(shè)計
- 納米集成電路制造工藝(第2版)
- Kubernetes on AWS
- Building Analytics Teams