rutilsMH: rutilsMH: a set of functions to assist with code development

rutilsMHR Documentation

rutilsMH: a set of functions to assist with code development

Description

The rutilsMH package provides an array of utility functions: these include documentation functions and summary functions

codeutils

countgtOne

counts values >1 in a vector

countgtzero

counts values >0 in a vector

countNAs

count the numbr of NA values in a vector

countones

count the number of values = 1 in a vector

countzeros

count the number of values = 0 in a vector

codeBlock

generates a comment section ready to copy into code

classDF

Tabulates the class of each column in a dataframe

getname

returns the name of a variable as character

properties

characterizes properties of data.frame columns

fileutils

listFunctions

lists all functions in a given R file

classDF

identifies the class of each column in a data.frame

plotutils

newplot

bare-bones plotprep, opens a new device + default par

parsyn

prints par command syntax to the console to be copied

plotprep

sets up a plotting device external to Rstudio

setplot

writes a base graphics template to the console

rmdutils

lininterpol

linearly replaces NA values in a vector

greplow

a case ignoring 'grep'

printV

prints a vector as a column with index numbers

quants

used in apply to estimate quantiles across a vector

which.closest

finds closest value in a vector to a given number

diagrams

canvas

sets up a plotting area ready for use

circle

draws a circle with a given origin and radius


haddonm/rutilsMH documentation built on July 21, 2023, 8:46 p.m.