# Package index • FreesearchR

Skip to contents

# Package index

## All functions

`add_class_icon()`
  Convert class grid column to icon

`add_sparkline()`
  Add sparkline to datagrid

`all_but()`
  Select all from vector but

`allign_axes()`
  Alligns axes between plots

`append_list()`
  Append list with named index

`argsstring2list()`
  Convert string of arguments to list of arguments

`baseline_table()`
  Print a flexible baseline characteristics table

`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_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()` `winbox_cut_variable()`
  Module to Convert Numeric to Factor

`cut(<hms>)` `cut(<POSIXt>)` `cut(<POSIXct>)` `cut(<Date>)`
  Extended cutting function

`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

`default_format_arguments()`
  Defaults qmd formats

`default_parsing()`
  Default data parsing

`drop_empty_event()`
  Drop empty events from REDCap export

`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

`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

`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_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

`m_datafileUI()`
  Shiny UI module to load a data file

`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

`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

`remove_empty_cols()`
  Removes columns with completenes below cutoff

`remove_na_attr()`
  Remove NA labels

`repeated_instruments()`
  Get names of repeated instruments

`selectInputIcon()`
  Create a select input control with icon(s)

`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.

`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