Skip to content

Internal package with functions to make outputs look more Health Foundation branded. We are starting with plots but will eventually add templates for Rmarkdown etc.

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

THF-evaluative-analytics/THFstyle

Repository files navigation

THFstyle

Functions to make outputs look Health Foundation branded. We are starting with plots but will eventually add templates for Rmarkdown etc.

Project Status: On-going

R build status

Installing THFstyle

THFstyle is not on CRAN, so you will have to install it directly from Github using devtools.

If you do not have the devtools package installed, you will have to run the first line in the code below as well.

# install.packages('devtools')
devtools::install_github('THF-evaluative-analytics/THFstyle')

Using the functions

theme_THF() has no arguments and is added to the ggplot statement similar to other ggplot functions. It will give your plots that Health Foundation look and feel but you might need to make some minor changes to be fully brand compliant. You can overwrite any of the theme_THF options using theme() as long as it comes after theme_THF.

By adding scale_colour_THF, scale_colour_continuous_THF, scale_fill_THF or scale_colour_continuous_THF to your ggplot statement and specifying the colour and/or fill option you plots will use the Health Foundations colours.

Authors

This code has mainly been developed by

Data

This repository only contains code and no specific data sets were used.

License

This project is licensed under the MIT License.

About

Internal package with functions to make outputs look more Health Foundation branded. We are starting with plots but will eventually add templates for Rmarkdown etc.

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages