Articles by R Blog on Cillian McHugh

A Shiny App for Tracking Moral Networks

January 30, 2020 | R Blog on Cillian McHugh

Background This is a post outlining a ShinyApp that I made for visualising inter-participant agreement on quesions relating to Haidt’s Moral Foundations (e.g., Haidt and Joseph 2008). This is part of a line of research on moral judgements, inspired by DAFINET project, where I aim to investigate the role ...
[Read more...]

A Shiny App for JS Mediation

August 22, 2019 | R Blog on Cillian McHugh

Background This is a brief post about making my first Shiny App (see also). I made this app following a meeting of the Advancing Social Cognition lab (ASC-Lab) where we discussed this paper by Yzerbyt et al. (2018) proposing a new method for mediation analysis. Any attempt to detail the differences ... [Read more...]

R Markdown Workshop

August 2, 2019 | R Blog on Cillian McHugh

Background This is an unusual post for me, I have avoided writing about R Markdown because there are so many resources already available on the topic (e.g., here, here, and here). However, recently I ran a session on using RMarkdown for my colleagues in the Centre for Social Issues ... [Read more...]

A Lazy Function

October 19, 2018 | R Blog on Cillian McHugh

It has been quite a while since I posted, but I haven’t been idle, I completed my PhD since the last post, and I’m due to graduate next Thursday. I am also delighted to have recently been added to R-bloggers.com so I’m keen to get back ... [Read more...]

Writing functions – Part two

August 26, 2017 | R Blog on Cillian McHugh

(This post originally appeared on my R blog) The current post will follow on from the previous post and describe another use for writing functions. R Markdown and reporting p values in APA format The function described here is designed for use with R Markdown. I would write a post ... [Read more...]

Writing functions – Part one

July 26, 2017 | R Blog on Cillian McHugh

(This post originally appeared on my R blog) Writing functions This post outlines the writing of a basic function. Writing functions in R (R Core Team 2017) is fairly simple, and the usefulness of function writing cannot be conveyed in a single post. I have included “Part one” in the title, ... [Read more...]

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)