Function reference
-
cache_clear()
- Clear data from the passthrough cache for complex or long running operations
-
cache_delete_stale()
- Delete stale files in a cache
-
cache_download()
- Download a file into a local cache.
-
cached()
- A simple pass-through cache for complex or long running operations
-
as.character(<rendered_plot>)
- Convert a rendered_plot object to a character
-
as.character(<rendered_table>)
- Convert a rendered_table object to a character
-
data_supplement()
- Create a function list that allows for supplementary tables (as huxtables) to be added to a XLSX output file.
-
gg_save_as()
- Save a plot to multiple formats
-
here()
- Drop in replacement for `here` (`here` pkg)
-
html_pdf_converter()
- Convert html to pdf depending on what is available on the platform
-
hux_save_as()
- Save a table to a variety of formats
-
knit_print(<rendered_plot>)
- Knit a rendered_plot object
-
knit_print(<rendered_table>)
- Knit a rendered_table object
-
outputter()
- Generate a versioned file name in a subdirectory.
-
print(<rendered_plot>)
- Print a rendered_plot object
-
print(<rendered_table>)
- Print a rendered_table object
-
std_size
- Standard image and paper sizes
-
breaks_log1p()
- A scales breaks generator for log1p scales
-
drawDetails(<watermark>)
- Internal function for drawing watermark on ggplots
-
gg_formatted_table()
- Display a long format table as a ggplot object.
-
gg_hide_X_axis()
- Hide the x axis of a plot
-
gg_hide_Y_axis()
- Hide the y axis of a plot
-
gg_hide_legend()
- Hide the legend of a plot
-
gg_label_size()
- Convert a label size from points to ggplot units
-
gg_narrow()
- Make a plot narrower
-
gg_pedantic()
- An opinionated set of defaults for plots
-
gg_resize_legend()
- Make the legend smaller
-
gg_set_X_angle()
- Set the angle of the x axis labels of a plot
-
gg_set_size_defaults()
- Set sizes in ggplot uniformly
-
gg_simple_table()
- A simple table as a ggplot patchwork object, no customisation allowed
-
gg_tiny_theme()
- A space saving ggplot theme
-
gg_watermark()
- Add in a watermark to plots
-
logit_trans()
- logit scale
-
percent_trans()
- percentage scale
-
scale_colour_subtype()
- A discrete colour scale for dividing where there is a natural ordered subgrouping into groups and subgroups
-
scale_fill_subtype()
- Discrete fill or colour scale where there is a natural ordered subgrouping
-
scale_x_log1p()
- A log1p x scale
-
scale_x_logit()
- A logit x scale
-
scale_x_percent()
- A percentage x scale
-
scale_y_log1p()
- A log1p y scale
-
scale_y_logit()
- A logit y scale
-
scale_y_percent()
- A percentage y scale
-
fit_col_widths()
- Estimate column content widths
-
hux_auto_widths()
- Calculate a sensible column and table width for a huxtable based on its content.
-
hux_bind_rows()
- Bind rows for huxtables
-
hux_default_layout()
- A tidy article theme for huxtables
-
hux_insert_start()
- Insert row at start maintaining format
-
hux_nest_group()
- Make a huxtable narrower
-
hux_set_caption()
- Set a huxtable caption as a first row
-
hux_set_font()
- Set the font family and size in a huxtable globally
-
hux_set_footer()
- Add a footer row as a final row in a huxtable
-
hux_sprintf()
- A sprintf alternative that handles NA values gracefully (ish)
-
hux_tidy()
- Convert a dataframe to a huxtable with nested rows and columns.
-
hux_to_ggplot()
- Convert a huxtable to a ggplot object
-
as.struct_list()
- Cast to a list of structures
-
map2_struct()
- Map over two inputs
-
map_struct()
- Apply a function to each element of a vector
-
pmap_struct()
- Map over multiple input simultaneously (in "parallel")
-
struct_flatten()
- Ensure `struct_list` is a flat list of `structs`
-
c(<struct_list>)
rep(<struct_list>)
`$`(<struct_list>)
`[`(<struct_list>)
`[<-`(<struct_list>)
`[[`(<struct_list>)
`[[<-`(<struct_list>)
- Manipulate structured lists
-
as.long_format_table()
- Convert a table to long format
-
as_vars()
- Reuse tidy-select syntax outside of a tidy-select function
-
bind_rows_with_factors()
- Bind rows for colums with factors
-
`$`(<checked_list>)
- Checked list accessor
-
check_font()
- Ensures a font is available.
-
code_snip()
- Display a code snippet
-
code_snip_by_line()
- Display a code snippet
-
cran()
- Make sure packages available on CRAN are installed
-
cut_date()
- Places a set of dates withing a regular time series
-
cut_integer()
- Cut and label an integer valued quantity
-
cut_time()
- Places a set of dates withing a regular time series
-
date_to_time()
- Convert a set of dates to numeric timepoints
-
.substitute_fonts()
- Pick a locally installed font family that matches requested
-
fonts_available()
- Which fonts are available on this system without hitting webfonts.
-
full_seq_dates()
- Expand a data vector to the full range
-
full_seq_times()
- Generate a full regular timepoint sequence
-
get_value_sets()
- Get a value set list of a dataframe
-
gg_find_webfonts()
- Find webfonts for a ggplot
-
intersecting_group_by()
- Create a dataframe with groups mathing a range of predicates
-
knit_versioned()
- Knit to a versioned file in a sub-directory of the project
-
non_cran()
- Make sure github packages are installed.
-
optional_fn()
- Get an optional function without triggering a CRAN warning
-
pmixnorm()
- Mixture of normal distribution PDFs
-
qmixnorm()
- Mixture of normal distribution quantiles
-
rebuild_fonts()
- Rebuild font caches
-
reset_fonts()
- Reset any custom fonts
-
rowwise_mutate()
- Create new data in a strictly row-wise fashion without vectorisation
-
sprintf_list()
- Sprintf with a list input
-
summarise_with_totals()
- Summarise a subgroup and create a summary row
-
time_to_date()
- Convert a set of timepoints to dates
-
unstable()
- Get unstable version of package