Learn R Programming

⚠️There's a newer version (0.2.19) of this package.Take me there.


hgutils

The goal of hgutils is to aid in package development, plotting, scientific functions and more.

Installation

hgutils can be installed from CRAN with:

install.packages("hgutils")
library(hgutils)

You can install hgutils from Github with:

# install.packages("devtools")
devtools::install_github("hvdboorn/hgutils")
library(hgutils)

Copy Link

Version

Install

install.packages('hgutils')

Monthly Downloads

346

Version

0.2.11

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

H.G. van den Boorn

Last Published

March 31st, 2022

Functions in hgutils (0.2.11)

analyze_package_imports

Analyze package imports
crossref_description

Set imports for DESCRIPTION file
create_text_table

Creates a text table
as.character.patient_flowchart

Text representation of patient inclusion flowchart
description-functions

Description functions
assign_list

Assign variables in a list
add_badges

Add badges to the README file for use on Github
%<>%

Compound assignment pipe operator
format_duration

Format time duration
frmt

Format variable value
generic_implementations

Retrieve generic function implementations
separate_values

Separate values
message_colours

Standardized message colours
get_breaks

Create nice axis breaks for plots
messages

Display coloured messages
progressbar

Creates an animated progress bar
translate_items

Translate item
print.percentage_table

Print a formatted percentage table
.bullets

Bullets
create_table_one

Table one
get_square_grid

Specifies a square grid which fits N objects.
load_packages

Load and install packages
load_package_collection

List package collections
spinner

Creates an animated spinner
rm_empty_rows

Remove empty rows
.get_title_bar

Creates a title bar
rm_na

Remove NA
.pkg_duplicated

Find duplicated packages names
%>%

Pipe operator
print.patient_flowchart

Print the patient inclusion flowchart
.regexl

Extracts the matches from stringr::str_match[_all]
valid_pkgname

Validate package and function names
wrap_text_table

Wrap string table
update_settings

Update default function settings
rnd_dbl

Round number
sep_thousands

Adds comma's to separate thousands in numbers
inclusion_flowchart

Patient flowchart
progression_calculator

Creates a progression calculator which can display a loading bar and expected time to completion
redundant_packages

Find redundant packages
stfu

S.T.F.U.: Stop Text From turning Up
startup

Cleans R for use
discretize_numbers

Discretize continuous numbers