EconPapers    
Economics at your fingertips  
 

Introduction to R

Massimiliano Porto
Additional contact information
Massimiliano Porto: Ritsumeikan Asia Pacific University

Chapter Chapter 1 in Using R for Trade Policy Analysis, 2023, pp 1-67 from Springer

Abstract: Abstract This chapter is designed to provide a beginner user of R with key information to be ready to understand the code used in this book. First, we will learn how to launch a project in RStudio in Section 1.3.1 and open an R Script file in Section 1.3.2. Section 1.4 explains how to install and load packages in R and which packages the reader needs to install and load to replicate the code in this book. These sections contain several screen-shots of my computer so that the reader can follow all the steps visually. In Section 1.5, we will learn how to read and replicate the code in this book. Finally, the chapter ends with examples with R. Section 1.6, presents eight key facts regarding the R grammar I think any beginner should be aware of. Section 1.7.1 builds a step-by-step example applying the knowledge of the previous section. Section 1.7.2 shows the main data management operations with two dummy data sets.

Date: 2023
References: Add references at CitEc
Citations:

There are no downloads for this item, see the EconPapers FAQ for hints about obtaining it.

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:spr:sprchp:978-3-031-35044-3_1

Ordering information: This item can be ordered from
http://www.springer.com/9783031350443

DOI: 10.1007/978-3-031-35044-3_1

Access Statistics for this chapter

More chapters in Springer Books from Springer
Bibliographic data for series maintained by Sonal Shukla () and Springer Nature Abstracting and Indexing ().

 
Page updated 2025-04-02
Handle: RePEc:spr:sprchp:978-3-031-35044-3_1