Blog Archives

How to use math symbols with ggdag

October 1, 2019
By
How to use math symbols with ggdag

The wonderful package ggdag can easily make DAG like this: However, what we really want to include in publications is something like this: The second one can include subscript and superscript, among many others. After some tweaking, I found a solution, not perfect but usable for now.-----------------------------------------------------------------library(dagitty)library(ggdag)library(ggraph)library(cowplot)library(dplyr)```{r, echo=FALSE}dag %   tidy_dagitty(layout = "auto", seed = 12345) %__%  arrange(name) %__%   ggplot(aes(x = x,...

Read more »

How to use math symbols with ggdag

October 1, 2019
By
How to use math symbols with ggdag

The wonderful package ggdag can easily make DAG like this: However, what we really want to include in publications is something like this: The second one can include subscript and superscript, among many others. After some tweaking, I found a solution, not perfect but usable for now.-----------------------------------------------------------------library(dagitty)library(ggdag)library(ggraph)library(cowplot)library(dplyr)```{r, echo=FALSE}dag %   tidy_dagitty(layout = "auto", seed = 12345) %__%  arrange(name) %__%   ggplot(aes(x = x,...

Read more »

Play with the cyphr package

March 24, 2019
By

The cyphr package seems to provide a good choice for small research group that shares sensitive data over internet (e.g., DropBox). I did some simple experiment myself and made sure it can actually serve my purpose.I did my experiment on two computers (using openssl): I created the test data on my Linux workstation running Manjaro then I tried to...

Read more »

The R community is one of R’s best features

July 5, 2017
By

Excellent summary here.

Read more »

R Users Will Now Inevitably Become Bayesians

January 14, 2016
By

Good post here. I would also add that the rethinking package is a third option that helps R users to become a Bayesian.

Read more »

R Users Will Now Inevitably Become Bayesians

January 14, 2016
By

Good post here. I would also add that the rethinking package is a third option that helps R users to become a Bayesian.

Read more »

How to use SparkR within Rstudio?

June 14, 2015
By

Setting up Spark and SparkR is quite easy (assume you are running v.1.4): just grab one of the pre-built binaries and unzip to a folder. There is also a shell script to start SparkR from command line. The document suggest to put the following linesSys....

Read more »

JASP

March 3, 2015
By

JASP is an interesting project. It is based on R with additional facilities and functions such as automatic table generation. There appears to be an R package that provide that functions directly to R users. Very worth checking out.

Read more »

R is now the #12 most popular programming language

November 9, 2014
By

According to the most recent TIOBE index, R is the #12 most popular programming language.

Read more »

R2MLwiN package

September 13, 2012
By

The new package R2MLwiN package bridges R and MLwinN software for multilevel analysis. From the examples provided, it looks very promising. It will be great if a command line version of MLwiN can be made available under Linux so the package can be usef...

Read more »

Search R-bloggers

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)