W. Joel Schneider
R Blog
Assessment Blog
Vita
Projects
Presentations
Software
Tutorials
Email
GitHub
Categories
All
(11)
R
(1)
ggplot2
(7)
knitr
(1)
lua
(1)
markdown
(2)
pandoc
(1)
Schneirographs
A Blog about Data Analysis and Visualization Using R
My lua filters
lua
pandoc
A collection of lua filters
Mar 15, 2024
W. Joel Schneider
Making a custom arrowhead for ggplot2 using ggarrow and arrowheadr
ggplot2
The ggarrow package allows any polygon to be an arrowhead.
Aug 26, 2023
W. Joel Schneider
Annotated equations in ggplot2
ggplot2
Importing latex into ggplot2
Jul 24, 2023
W. Joel Schneider
Creating collapsible output with knitr chunk hooks
knitr
markdown
How to make the output of a knitr code chunk collapsible using knitr hooks.
Jun 30, 2023
W. Joel Schneider
Splitting sentence texts into roughly equal segments
ggplot2
For long text labels on the y-axis, splitting them into roughly equal segments can look better.
May 31, 2023
W. Joel Schneider
Insert Text from One Markdown Document into Another
markdown
A function for retrieving a div or span from another markdown document
Mar 30, 2023
W. Joel Schneider
Making text labels the same size as axis labels in ggplot2
ggplot2
The geom_text and geom_label functions do not specifiy text size the same way as the rest of ggplot2 elements do. For consistent text sizes, we can apply a simple conversion.
Aug 10, 2021
W. Joel Schneider
Bar chart labels on smooth paths in ggplot2
ggplot2
Placing stacked bar chart labels on a smooth path makes them easier to compare.
Jul 31, 2021
W. Joel Schneider
Point labels perpendicular to a curve in ggplot2
ggplot2
How to place legible labels for points on a curve in ggplot2
Jul 27, 2021
W. Joel Schneider
Caption on same line as axis title in ggplot2
ggplot2
You can put the caption on the line as the x-axis title
Jul 21, 2021
W. Joel Schneider
Concatenating vectors unless a vector is empty
R
The paste and paste0 functions have a recycle0 argument that returns an empty vector when any part of the string is empty.
May 13, 2021
W. Joel Schneider
No matching items