Description Usage Arguments Examples
View source: R/theme_hodgeslab_basic.R
This function defines the basic theme for plots coming from the Hodges lab.
1 2 3 4 5 6 7 8 | theme_hodgeslab_basic(
base_size = 7,
base_family = "",
line_size = 0.25,
grid = F,
rotx = 0,
box = F
)
|
base_size |
Sets the Postscript font size for all labels, in units of pt. Defaults to 7. |
base_family |
Sets the Postscript font family for all labels. Defaults to empty "". |
line_size |
Sets the line width for lines used in plots, in units of pt. Defaults to 0.5. |
1 | ggplot(df,aes(x=x,y=y)) + geom_point() + theme_hodgeslab_basic()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.