Collection of Utility Functions


[Up] [Top]

Documentation for package ‘hgutils’ version 0.2.11

Help Pages

.pkg_duplicated Find duplicated packages names
.regexl Extracts the matches from stringr::str_match[_all]
add_badges Add badges to the README file for use on Github
analyze_package_imports Analyze package imports
as.character.patient_flowchart Text representation of patient inclusion flowchart
assign_list Assign variables in a list
create_contigency_table Table one
create_table_one Table one
create_text_table Creates a text table
crossref_description Set imports for _DESCRIPTION_ file
description-functions Description functions
discretize_numbers Discretize continuous numbers
exclude_patients Patient flowchart
format_duration Format time duration
frmt Format variable value
generic_implementations Retrieve generic function implementations
get_breaks Create nice axis breaks for plots
get_square_grid Specifies a square grid which fits N objects.
ggplot_breaks Create nice axis breaks for plots
inclusion_flowchart Patient flowchart
list_common_packages List package collections
list_package_collections List package collections
load_common_packages List package collections
load_packages Load and install packages
load_package_collection List package collections
percentage_table Table one
print.patient_flowchart Print the patient inclusion flowchart
print.percentage_table Print a formatted percentage table
progressbar Creates an animated progress bar
progression_calculator Creates a progression calculator which can display a loading bar and expected time to completion
read.description Description functions
redundant_packages Find redundant packages
render Creates an animated progress bar
render.fraction_progressbar Creates an animated progress bar
render.iteration_progressbar Creates an animated progress bar
render.progressbar Creates an animated progress bar
render.progression_calculator Creates a progression calculator which can display a loading bar and expected time to completion
render.spinner Creates an animated spinner
rm_empty_rows Remove empty rows
rm_na Remove 'NA'
rnd_dbl Round number
separate_values Separate values
sep_thousands Adds comma's to separate thousands in numbers
spinner Creates an animated spinner
startup Cleans R for use
stfu S.T.F.U.: Stop Text From turning Up
translate_items Translate item
update_description Description functions
update_settings Update default function settings
valid_funcname Validate package and function names
valid_pkgname Validate package and function names
wrap_text_table Wrap string table
write.description Description functions