a repository containing R utility functions
# Download with devtools:
devtools::install_github("twesleyb/miscR")
|Function | Description |
| ------- | ------------ |
|getrd
| get git project's root directory from current path|
|col2hex
| convert a color's character string (e.g. 'blue') to a hex code |
|colormind
| return a pretty color pallete from the colormind API |
|hex2str
| convert a color's hex code to a character string |
|%notin%
| the opposite of dplyr's %in% |
|writeExcel
| save a list of data.frames to a multi-sheet Excel workbook |
|ggsavePDF
| save a list of ggplots to a single PDF |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.