Blog Archives

Structural Equation Modelling in R (Part 1)

December 6, 2016
By
Structural Equation Modelling in R (Part 1)

Brief explanation Structural Equation Modelling (SEM) is a state of art methodology and fulfills much of broader discusion about statistical modeling, and allows to make inference and causal analysis. SEM models are regression models braodly used in Marketing, Human Resources, Biostatistics and Medicine, revealing their flexibility as analytical tool. Despite being a state-of-the-art methodology, SEM does not create new developments of...

Read more »

The Hitchhiker’s Guide to Ggplot2 in R

November 29, 2016
By
The Hitchhiker’s Guide to Ggplot2 in R

About the book This is a technical book. The scope of the book is to go straight to the point and the writing style is similar to a recipe with detailed instructions. It is assumed that you know the basics of R and that you want to learn how to c...

Read more »

RStudio Server on OS X Sierra

November 25, 2016
By

Motivation I had to install RStudio Server in a computer recently upgraded to OS X Sierra. The steps are the same as in a previous post (RStudio Server on OS X El Capitan ) Homebrew setup If you don't have Homebrew installed you'll need to install it first. In my opinion is it better to install XCode 8 Command Line Tools...

Read more »

Joy Division’s Unknown PleasuRes

November 8, 2016
By
Joy Division’s Unknown PleasuRes

Introduction Who knew Joy Division had a penchant for data visualization? there is an interesting story about Unknown Pleasures. Alex Whan previously posted some instructions on how to obtain the most influential Post-Punk front cover using ggplot2. Code I wanted to create a wallpaper from that and here's how I solved white borders and some difficulties. # 1. Load libraries

Read more »

RStudio Server on OS X El Capitan

October 20, 2016
By

Motivation This is the result of trial and error until I got RStudio Server working in my network I have a powerful Mac Pro server and I wanted to use that computing from my "old" iMac (i.e. to do my calculations in a fraction of the time that it would take using my own iMac's resources) Homebrew setup There is a good tutorial...

Read more »

Reproducible Reports with RStudio

October 11, 2016
By

Tired of R code not working on the fly even between your own computers? Think in a reproducible way. I've been thinking about the best way to create a reproducible report with rmarkdown and how to share that with people that don't even have R installed. Rmd format allows you to export to html, pdf or docx. That's cool but there...

Read more »

LaTeX CV Template

August 28, 2016
By

I wrote my CV using \(\rm\LaTeX\). I could find that when introducing chinese characters there is a complication. You can use CJKutf8 package and compile your document using pdflatex or you can use fontspec package and compile your document using xelatex. Using pdflatex is straightforward but without further options to allow customizations. Using xelatex is more tricky but...

Read more »

R 编程语言典范-智利和中国以及世界的贸易

August 19, 2016
By
R 编程语言典范-智利和中国以及世界的贸易

摊子 文档:datos-TLC-Chile-China.xlsx 平滑子:Adobe Heiti library(XLConnect) library(ggplot2) library(grid) library(gridExtra) library(RColorBrewer) library(scales) library(plyr) library(cowplot) file <- "/Users/pacha/pachamaltese.github.io/site/content/chileweek/datos-TLC-Chile-China.xlsx" data <- readWorksheetFromFile(file, sheet = "Sheet1", region = "A3:K13", header = TRUE) data2 <-...

Read more »

Chile Week 2016: the year Chile hails China as its top trade partner

Chile Week 2016: the year Chile hails China as its top trade partner

Nice and clean China now is Chile's leading trade partner, with their bilateral trade volume having grown fourfold in the past decade. In 2015, Chilean exports to China amounted to 18 billion US dollars, while imports totaled 14 billion dollars. In 10 ...

Read more »

oec: The Observatory of Economic Complexity

oec: The Observatory of Economic Complexity

I have wrote an R Package that was accepted on CRAN. oec, which is the name of the package, allows you to use The Observatory of Economic Complexity's API from R console to obtain international trade data to create spreadsheets (csv format) and D3Plus ...

Read more »

Sponsors

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)