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

codeutilsR Documentation

codeutils: a set of functions to assist with code development

Description

The codeutils package provides an array of utility functions, these include documentation functions and summary functions. plot functions are to be found in the hplot package

codeutilities

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

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/codeutils documentation built on April 15, 2024, 1:02 p.m.