R methods and tricks

R things I, and perhaps others, forget

This is a developing miscellany of the things that I seem to keep forgetting about R. What I used to call in my student days "teflon coated facts"!

Drawing a PSYCTC.org logo (and other circular things)

As title says: very simple stuff about circles in ggplot, does open up somne ideas about drawing therapy groups.

Reading data into R from M$oft Access mdb

Work in progress about reading data from M$ mdb file into R

How I've done this

Just documenting how I have created these pages

Making the CECPfuns package: my own usable package

This is very much work in progress so look for later posts about CECPfuns as well as this.

Where to store different settings in Rmarkdown files

This may be of use to others but it's partly for me as I keep forgetting these and searching around for the .Rmd files in which I used the one I want!

Why pipe? Why the tidyverse?

A short description of the post.

More piping, and rowwise()

This extends https://www.psyctc.org/Rblog/posts/2021-02-07-why-pipe-why-the-tidyverse/ and introduces rowwise()

Handling overprinting

This is the first of my blog posts here, about the issue of overprinting and some ways to handle it using R and ggplot(). There's a small spin off topic on the impact on bivariate correlations and on linear regression of discretising continuous variables.

Nudging groupings on plot axes

How to nudge categories on an axis of a ggplot plot.

Compiling packages reporting missing headers in windows

For anyone else who hits this and doesn't want to wait for someone to put the compiled package into CRAN

Compiling R on a Raspberry Pi 4

I thought I should document this process as it turned out to be fairly easy

More articles »

R methods and tricks