Description Usage Arguments Examples
spiffify
adds some formatting to a ggplot to make it easier to read.
1 2 | spiffify(base_size = 17, lineheight = 0.8, face = "bold",
angle = 45, vjust = 1, hjust = 1)
|
base_size |
The base size of for ggplot. Defaults to 17. |
lineheight |
The lineheight for ggplot. Defaults to .8. |
face |
Font face. Defaults to bold. |
1 2 3 4 5 6 7 8 9 10 | library(languageR)
library(ggplot2)
lexdec.rt <- lexdec[lexdec$Correct=="correct",]
ggplot(lexdec.rt, aes(x=Frequency, y=RT)) + geom_smooth() +
geom_point(alpha=.1) + ggtitle("Freqyency by RT")
ggplot(lexdec.rt, aes(x=Frequency, y=RT)) + geom_smooth() +
geom_point(alpha=.1) + ggtitle("Freqyency by RT") + spiffify()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.