- Applied Data Visualization with R and ggplot2
- Dr. Tania Moulik
- 168字
- 2021-07-23 16:59:44
Exploring Datasets
In this section, we will use the built-in datasets to investigate the relationships between continuous variables, such as temperature and airquality. We'll explore and understand the datasets available in R.
Let's begin by executing the following steps:
- Type data() in the command line to list the datasets available in R. You should see something like the following:
- Choose the following datasets: mtcars, air quality, rock, and sleep.
The number of levels only applies to factor data.
- List two variables of each type, the dataset names, and the other columns of this table.
- To view the data type, use the str command (for example, str(airquality) ).
Take a look at the following output screenshot:
- After viewing the preceding datasets, fill in the following table. The first entry has been completed for you. The following table includes all variables of the types num and int:
The outcome should be a completed table, similar to the following:
More details about variables can be found at http://www.statisticshowto.com/types-variables/.
推薦閱讀
- Natural Language Processing Fundamentals
- Hybrid Cloud for Architects
- 電氣控制與PLC技術應用
- Grome Terrain Modeling with Ogre3D,UDK,and Unity3D
- Excel 2010函數與公式速查手冊
- 手機游戲策劃設計
- 無人駕駛感知智能
- 基于Proteus的PIC單片機C語言程序設計與仿真
- 案例解說Delphi典型控制應用
- 網站規劃與網頁設計
- 網絡信息安全項目教程
- Hands-On Artificial Intelligence for Beginners
- Mastering Microsoft Dynamics 365 Customer Engagement
- 洞察大數據價值:SAS編程與數據挖掘
- 計算機仿真技術