- R Programming Fundamentals
- Kaelen Medeiros
- 177字
- 2021-07-23 16:58:19
Activity: Installing the Tidyverse Packages
Scenario
You have been assigned the task of developing a report using R. You need to install the Tidyverse packages to develop that report.
Aim
To install Tidyverse, a set of useful packages that will be used later in the book. Load the inbuilt datasets into the project.
Prerequisites
Make sure that you have R and RStudio installed on your machine.
Steps for completion
- Install the Tidyverse package using the install.package() function.
- Load the ggplot2 library and the built-in msleep dataset.
Note that msleep is a built-in dataset in the ggplot2 package. We'll use R built-in datasets throughout this book.
- Save the global image of the environment for use later use.
This activity was crucial. We've added a dataset and the Tidyverse packages to the project we intend to use for the rest of the book. We've also saved a copy of our global environment to our working directory. The Tidyverse packages, dplyr, ggplot2, tidyr, and a few others, will be very helpful throughout this book and in your data science work.
推薦閱讀
- 嵌入式系統(tǒng)及其開(kāi)發(fā)應(yīng)用
- OpenStack for Architects
- 輕松學(xué)Java
- 工業(yè)機(jī)器人工程應(yīng)用虛擬仿真教程:MotoSim EG-VRC
- JBoss ESB Beginner’s Guide
- 永磁同步電動(dòng)機(jī)變頻調(diào)速系統(tǒng)及其控制(第2版)
- Associations and Correlations
- 悟透AutoCAD 2009完全自學(xué)手冊(cè)
- Nginx高性能Web服務(wù)器詳解
- 網(wǎng)絡(luò)管理工具實(shí)用詳解
- 液壓機(jī)智能故障診斷方法集成技術(shù)
- 單片機(jī)技能與實(shí)訓(xùn)
- Mastering Exploratory Analysis with pandas
- 筆記本電腦維修之電路分析基礎(chǔ)
- Eclipse全程指南