Skip to main content

RStudio and R

  • 2038 Accesses

Abstract

We have an initial look at R and RStudio. In R we work with objects, using commands that have to be precise. We use four types of objects frequently—vectors, matrices, data frames and lists. We often act on the whole or part of an object, so we need to refer to the whole or part of the object precisely. We use a simple toy example to move through a mini-data analysis workflow using the tidyverse package: we go from data entry to wrangling, and then to visualizing the data and fitting a model.

Keywords

  • R
  • RStudio
  • Vector
  • Matrix
  • Data frame
  • List
  • Tidyverse
  • Data verbs
  • Visualization

This is a preview of subscription content, access via your institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • DOI: 10.1007/978-981-15-2035-8_2
  • Chapter length: 19 pages
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
eBook
USD   59.99
Price excludes VAT (USA)
  • ISBN: 978-981-15-2035-8
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
Softcover Book
USD   79.99
Price excludes VAT (USA)
Hardcover Book
USD   109.99
Price excludes VAT (USA)
Fig. 2.1
Fig. 2.2
Fig. 2.3
Fig. 2.4
Fig. 2.5
Fig. 2.6

References

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Vikram Dayal .

Rights and permissions

Reprints and Permissions

Copyright information

© 2020 Springer Nature Singapore Pte Ltd.

About this chapter

Verify currency and authenticity via CrossMark

Cite this chapter

Dayal, V. (2020). RStudio and R. In: Quantitative Economics with R. Springer, Singapore. https://doi.org/10.1007/978-981-15-2035-8_2

Download citation