All functions

as_github_code()

An easy way to print github code

base_color

Base color

caption_sources_with_dates()

Formats captions with dates

colors

Colors

config

Config

display_all_palettes()

Main colour extractor https://drsimonj.svbtle.com/creating-corporate-colour-palettes-for-ggplot2

every_nth()

every_nth Useful for plotting every nth discrete value in ggplot2

excel_style_background_red

Excel style for red background

excel_style_background_yellow

Excel style for yellow background

excel_style_num_0

Excel style for number with 0 decimal places

excel_style_num_1

Excel style for number with 1 decimal places

excel_style_prop_to_perc_0

Excel style for percentage (0-1) with 0 decimal places

excel_style_prop_to_perc_1

Excel style for percentage (0-1) with 1 decimal places

excel_style_risk_1_5()

Excel style for htmltable cell with a risk scale from 1-5

excel_style_title

Excel style for title

excel_style_wrap

Excel style wrap

fhi_caption()

fhi_caption

fhi_pal()

Main colour extractor https://drsimonj.svbtle.com/creating-corporate-colour-palettes-for-ggplot2

format_date_nor()

format_date_nor

format_datetime_file()

format_date_nor

format_nor()

format_nor

format_nor_invlog10_1()

format_nor_invlog10_1 Formats as a norwegian number with 1 digit on log-10 scale. Useful for scale labels

format_nor_invlog10_2()

format_nor_invlog10_2 Formats as a norwegian number with 2 digits on log-10 scale. Useful for scale labels

format_nor_invlog2_1()

format_nor_invlog2_1 Formats as a norwegian number with 1 digit on log-2 scale. Useful for scale labels

format_nor_invlog2_2()

format_nor_invlog2_2 Formats as a norwegian number with 2 digits on log-2 scale. Useful for scale labels

format_nor_invloge_1()

format_nor_invloge_1 Formats as a norwegian number with 1 digit on log scale. Useful for scale labels

format_nor_invloge_2()

format_nor_invloge_2 Formats as a norwegian number with 2 digits on log scale. Useful for scale labels

format_nor_num_0()

format_nor_num_0 Formats as a norwegian number with 0 digits. Useful for scale labels

format_nor_num_1()

format_nor_num_1 Formats as a norwegian number with 1 digits. Useful for scale labels

format_nor_num_2()

format_nor_num_2 Formats as a norwegian number with 2 digits. Useful for scale labels

format_nor_per100k_0()

format_nor_num_0 Formats as a norwegian number with 0 digits and the suffix " /100k". Useful for scale labels

format_nor_per100k_1()

format_nor_num_1 Formats as a norwegian number with 1 digits and the suffix " /100k" Useful for scale labels

format_nor_per100k_2()

format_nor_num_2 Formats as a norwegian number with 2 digits and the suffix " /100k" Useful for scale labels

format_nor_perc_0()

format_nor_perc_0 Formats as a norwegian number with 0 digits and puts a Useful for scale labels

format_nor_perc_1()

format_nor_perc_1 Formats as a norwegian number with 1 digits and puts a Useful for scale labels

format_nor_perc_2()

format_nor_perc_2 Formats as a norwegian number with 2 digits and puts a Useful for scale labels

geom_stepribbon()

stat_stepribbon An extension of ggplot2's geom_ribbon

htmltable_css_background_red

CSS style for htmltable for red background

htmltable_css_background_yellow

CSS style for htmltable for yellow background

htmltable_css_cell()

CSS for htmltable cell

htmltable_css_header()

CSS for htmltable header

htmltable_css_risk_1_5()

CSS for htmltable cell with a risk scale from 1-5

htmltable_css_style_matrix()

Empty CSS style matrix

htmltable_css_table()

CSS for htmltable table

htmltable_quick_style()

CSS for htmltable header

huxtable_theme_fhi_basic()

huxtable_theme_fhi_basic

isoweek_c()

isoweek_c

isoweek_n()

isoweek_n

isoyear_c()

isoyear_c

isoyear_n()

isoyear_n

isoyearweek_c()

isoyearweek_c date to isoyearweek_c (character)

isoyearweek_to_week_c()

isoyearweek_to_week_c isoyearweek to week (character) This function breaks the string connected with '-' into year/week

isoyearweek_to_week_n()

isoyearweek_to_week_n isoyearweek to week (numeric) This function breaks the string connected with '-' into year/week

isoyearweek_to_year_c()

isoyearweek_to_year_c isoyearweek to year (character) This function breaks the string connected with '-' into year/week

isoyearweek_to_year_n()

isoyearweek_to_year_n isoyearweek to year (numeric) This function breaks the string connected with '-' into year/week

keep_sundays()

Keeps sundays If you provide a vector of dates, this function will keep the sundays and the latest date

keep_sundays_and_latest_date()

Keeps sundays and latest date If you provide a vector of dates, this function will keep the sundays and the latest date

location_code_to_character()

Makes a character from a vector of location codes

location_code_to_factor()

Makes a factor with a label from a vector of location codes

make_influenza_threshold_chart()

A treshold chart of the type used for influenza

make_line_brush_plot()

MakeLineBrushPlot

make_line_excess_graph()

make_line_excess_graph

make_line_threshold_plot()

Creates a line threshold plot

pretty_breaks()

pretty_breaks

print(<github_code>)

Print github_code

save_a4()

save_a4

scale_color_fhi()

Main colour extractor https://drsimonj.svbtle.com/creating-corporate-colour-palettes-for-ggplot2

scale_fill_fhi()

Main colour extractor https://drsimonj.svbtle.com/creating-corporate-colour-palettes-for-ggplot2

seasonweek_to_week_c()

seasonweek_to_week_c Season week to natural week. Season week 1 is natural week 30.

seasonweek_to_week_n()

seasonweek_to_week_n Season week to natural week. Season week 1 is natural week 30.

set_config()

set_config

set_x_axis_vertical()

set_x_axis_vertical

theme_fhi_basic()

theme_fhi_basic

theme_fhi_lines()

theme_fhi_lines

theme_fhi_lines_horizontal()

theme_fhi_lines_horizontal

theme_fhi_shiny_kht()

theme_fhi_shiny_kht

view_html()

View HTML in the rstudio view

warning_color

Warning color

week_to_seasonweek_n()

week_to_seasonweek_n Natural week to season week. Season week 1 is natural week 30.