Articles by Mauricio Vargas S. 帕夏

Rick and Morty and Tidy Data Principles

October 12, 2017 | Mauricio Vargas S. 帕夏

Motivation After reading The Life Changing Magic of Tidying Text and A tidy text analysis of Rick and Morty I thought about doing something similar but reproducible and focused on Rick and Morty. In this post I'll focus on the Tidy Data principles. However, here is the Github repo with ... [Read more...]

Quickly Install R on Ubuntu

October 2, 2017 | Mauricio Vargas S. 帕夏

Motivation On a previous post I explained how to install R and Python on OS X without further complications. Now here are the equivalent steps on Ubuntu. The presented script also installs Java and common packages as I wrote this for a fresh install. W... [Read more...]

Use R and Pelican on Windows

August 27, 2017 | Mauricio Vargas S. 帕夏

Motivation On a previous post I explained how to install R and Python effortlessy. Now I bought a Windows machine and this post gathers a lot of reading and experiments I made until I could set everything correctly to write this blog post. I use Pelican for my blog, so ... [Read more...]

Install R and Python via Homebrew

July 11, 2017 | Mauricio Vargas S. 帕夏

Original posted on 2017-01-08Updated posted on 2017-07-12 Why should you do this? With a single brew upgrade you can save yourself a headache and valuable time when you need newer software versions. Besides that, R binaries from CRAN and OS X stock Python can give problems with ... [Read more...]

R and GNU tools via Homebrew

July 11, 2017 | Mauricio Vargas S. 帕夏

Original posted on 2017-01-08Updated posted on 2017-07-12 Introduction A few months ago I needed to use stock Python. One way to achieve that, and not to use OS X provided version, is to install it using Homebrew. Why I needed that? Python packages installed via pip were ... [Read more...]

Working With SPSS© Data in R

June 23, 2017 | Mauricio Vargas S. 帕夏

Introduction I was in need of importing SPSS© data for work. There are some options but I've used both foreign and haven R packages. I prefer haven because it integrates better with R's tidyverse and started using it in detriment of foreign when I verified it behaves well with factors ... [Read more...]

Microeconomic Theory and Linear Regression (Part 2)

April 21, 2017 | Mauricio Vargas S. 帕夏

Introduction In the first part of this article I explained and compared four different functional forms to model apples' production. This is what I need to retake the previously explained examples: # Libraries #install.packages(c("micEcon","lmtest","bbmle","miscTools")) library(micEcon) library(lmtest) library(stats4) #this is a base package ... [Read more...]
1 2

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)