Skip to contents

All functions

add_class_icon()
Convert class grid column to icon
add_sparkline()
Add sparkline to datagrid
align_axes()
Aligns axes between plots
all_but()
Select all from vector but
append_column()
Append a column to a data.frame
append_list()
Append list with named index
argsstring2list()
Convert string of arguments to list of arguments
baseline_table()
Print a flexible baseline characteristics table
class_icons()
Get data class icons
clean_common_axis()
Extract and clean axis ranges
clean_date()
Attempts at applying uniform date format
clean_sep()
gsub wrapper for piping with default values for separator substituting
columnSelectInput()
A selectizeInput customized for data frames with column labels
contrast_text()
Contrast Text Color
create_column_ui() create_column_server() list_allowed_operations() modal_create_column() winbox_create_column()
Create new column
create_baseline()
Create a baseline table
create_log_tics()
Create summetric log ticks
create_overview_datagrid()
Create a data overview datagrid
custom_theme()
Custom theme based on unity
cut_variable_ui() cut_variable_server() modal_cut_variable()
Module to Convert Numeric to Factor
cut_var()
Extended cutting function with fall-back to the native base::cut
data_correlations_ui() data_correlations_server()
Data correlations evaluation module
data_import_demo_app()
Test app for the data-import module
data_visuals_ui() data_visuals_server() create_plot() plot_box() plot_box_single() plot_hbars() plot_ridge() sankey_ready() plot_sankey() plot_scatter() plot_violin()
Data correlations evaluation module
data_summary_ui() data_summary_server()
Data summary module
data_description()
Ultra short data dascription
data_type()
Data type assessment.
data_type_filter()
Filter function to filter data set by variable type
data_types()
Recognised data types from data_type
default_format_arguments()
Defaults qmd formats
default_parsing()
Default data parsing
drop_empty_event()
Drop empty events from REDCap export
expression_string()
Deparses expression as string, substitutes native pipe and adds assign
factorize()
Factorize variables in data.frame
file_export()
Title
format_writer()
Merges list of named arguments for qmd header generation
get_fun_options()
Get the function options based on the selected function description
get_label()
Print label, and if missing print variable name
get_plot_options()
Get the function options based on the selected function description
get_var_icon()
Easily get variable icon based on data type or class
getfun()
Wrapper function to get function from character vector referring to function from namespace. Passed to 'do.call()'
gg_theme_export()
GGplot default theme for plotting export objects
gg_theme_shiny()
GGplot default theme for plotting in Shiny
ggeulerr()
Area proportional venn diagrams
grepl_fix()
Matches pattern to vector based on match type
if_not_missing()
Return if available
import_delim() import_xls() import_ods() import_dta() import_rds()
Wrapper to ease data file import
import_file_ui() import_file_server()
Import data from a file
import_file_demo_app()
Test app for the import_file module
index_embed()
Split vector by an index and embed addition
is_any_class()
Test class
is_consecutive()
Checks if elements in vector are equally spaced as indication of ID
is_datetime()
Test is date/datetime/time
is_identical_to_previous()
Test if element is identical to the previous
is_valid_redcap_url()
Test if url is valid format for REDCap API
is_valid_token()
Validate REDCap token
launch_FreesearchR()
Easily launch the FreesearchR app
limit_log()
Easily round log scale limits for nice plots
line_break()
Line breaking at given number of characters for nicely plotting labels
merge_expression()
Merge list of expressions
merge_long()
Wrapper to pivot gtsummary table data to long for plotting
missing_fraction()
Get missingsness fraction
modify_qmd()
Wrapper to modify quarto file to render specific formats
overview_vars()
Create a data overview data.frame ready for sparklines
pipe_string()
Reduce character vector with the native pipe operator or character string
plot(<tbl_regression>)
Regression coef plot from gtsummary. Slightly modified to pass on arguments
plot_euler()
Easily plot euler diagrams
plot_euler_single()
Easily plot single euler diagrams
plot_sankey_single()
Beautiful sankey plot
possible_functions()
Get possible regression models
possible_plots()
Get possible regression models
read_input()
Flexible file import based on extension
m_redcap_readUI() m_redcap_readServer() redcap_demo_app()
Shiny module to browser and export REDCap data
regression_model() regression_model_uv() regression_model_list() regression_model_uv_list()
Create a regression model programatically
regression_table()
Create table of regression model
regression_table_create()
Create regression summary table
remove_empty_attr()
Remove empty/NA attributes
remove_empty_cols()
Removes columns with completenes below cutoff
remove_nested_list()
Very simple function to remove nested lists, like when uploading .rds
repeated_instruments()
Get names of repeated instruments
selectInputIcon()
Create a select input control with icon(s)
set_column_label()
(Re)label columns in data.frame
show_data()
Display a table in a window
simple_snake()
Simplified version of the snakecase packages to_snake_case
sort_by()
Drop-in replacement for the base::sort_by with option to remove NAs
specify_qmd_format()
Specify format arguments to include in qmd header/frontmatter
subset_types()
Easily subset by data type function
supported_functions()
Implemented functions
supported_plots()
Implemented functions
symmetrical_scale_x_log10()
Ensure symmetrical plot around 1 on a logarithmic x scale for ratio plots
tbl_merge()
A substitue to gtsummary::tbl_merge, that will use list names for the tab spanner names.
type_icons()
Get data type icons
update_factor_ui() update_factor_server() modal_update_factor() winbox_update_factor()
Module to Reorder the Levels of a Factor Variable
update_variables_ui() update_variables_server()
Select, rename and convert variables
update_variables_datagrid()
Modified from the datamods pacakge
vectorSelectInput()
A selectizeInput customized for named vectors
vertical_stacked_bars()
Vertical stacked bar plot wrapper
wide2long()
Alternative pivoting method for easily pivoting based on name pattern
wrap_plot_list()
Wrapping
write_quarto()
Wrapper to save data in RDS, load into specified qmd and render