Visualization |
|
|---|---|
Themes and styling |
|
CSIDS ggplot2 theme for consistent styling |
|
Colors and palettes |
|
ggplot2 color scale using CSIDS color palettes |
|
ggplot2 fill scale using CSIDS color palettes |
|
Color palette definitions for CSIDS styling |
|
Display all available color palettes |
|
Plot utilities |
|
Pretty breaks |
|
Returns every nth discrete value |
|
Save ggplot in A4 scale |
|
Norwegian formatting |
|
Numbers |
|
|
|
Format numbers with Norwegian conventions (0 digits) |
|
|
Format numbers as percentages with Norwegian conventions (0 digits) |
|
|
Format numbers per 100k with Norwegian conventions (0 digits) |
Format numbers on inverse log-2 scale with Norwegian conventions (1 digit) |
|
|
|
Format numbers on inverse log-10 scale with Norwegian conventions (1 digit) |
Format numbers on inverse natural log scale with Norwegian conventions (1 digit) |
|
|
|
Format cstidy age codes as factor with Norwegian text |
|
|
Convert Norwegian location codes to factor with readable labels |
Dates and times |
|
|
|
Format date and datetime using Norwegian conventions |
Journal formatting (international standards) |
|
Numbers |
|
|
|
Format numbers with journal conventions (0 digits) |
|
|
Format numbers as percentages with journal conventions (0 digits) |
|
|
Format numbers per 100k with journal conventions (0 digits) |
|
|
Format numbers on inverse log-2 scale with journal conventions (1 digit) |
|
|
Format numbers on inverse log-10 scale with journal conventions (1 digit) |
|
|
Format numbers on inverse natural log scale with journal conventions (1 digit) |
Dates and times |
|
|
|
Format date and datetime using journal conventions (ISO 8601) |
Development utilities |
|
An easy way to print github code |
|
Print github_code |
|
View HTML in the RStudio viewer |
|
Set global configuration parameters for location code formatting |
|