R Markdown

refer to relative path in blogdown

When you write your posts/blogs on blogdown, you might not want to always refer to the absolute path appeared on your website (because you might change your domain name and all hell breaks loose).

making your image and figure robust in bs4 bookdown

I struggle to find how to make my figures and images perfectly aligned in the center of my book. After looking around, I think I’ve found an adequate solution:

Bookdown Statistics

It’s possible to have basic statistics from bookdown using connectapi (basic example). However, this feature is very limited. Hence, it is better to connect bookdown to Google Analytics to have better metrics.

psychological experiments

Use jaysire package to build flexible behavioral experiments in R. Why? Better workflow Free Cutomizable remotes::install_github("djnavarro/jaysire")


Packages #install.packages("doParallel") library("doParallel") ## Loading required package: foreach ## Loading required package: iterators ## Loading required package: parallel Check how long a loop takes start <- proc.time() for (i in 1:10){ sqrt(i) } base_loop=(proc.

Hello R Markdown

R Markdown This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.