Tidy Tuesday 52 2020

Hey folks,

this is the first of a series of blog post where I want to participate on the tidytuesday weekly social data project in R.

The intent of Tidy Tuesday is to provide a safe and supportive forum for individuals to practice their wrangling and data visualization skills independent of drawing conclusions.

The goal of this series is to help me

  • practice data visualization and data wrangling in R (R Core Team (2019)) using the tidyverse (Wickham et al. (2019))
  • adopt this skillset to learn Python
  • master to publish the applications using R Markdown

R code

Check the R code below:

lm(mpg ~ drat, data = mtcars)

Stata code

regress y x

R output

## 
## Call:
## lm(formula = mpg ~ drat, data = mtcars)
## 
## Coefficients:
## (Intercept)         drat  
##      -7.525        7.678

References

R Core Team. 2019. R: A Language and Environment for Statistical Computing. Vienna, Austria: R Foundation for Statistical Computing. https://www.R-project.org.
Wickham, Hadley, Mara Averick, Jennifer Bryan, Winston Chang, Lucy D’Agostino McGowan, Romain François, Garrett Grolemund, et al. 2019. “Welcome to the tidyverse.” Journal of Open Source Software 4 (43): 1686. https://doi.org/10.21105/joss.01686.
Andreas Kitsche
Andreas Kitsche
Data Scientist, Bonsai Enthusiast & Latin Dancer

Related