Learn R Programming

Useful is a collection of handy functions that I have collected over the years but do not have a place in an particular package. More are added as I build.

Since useful is so varied I will, over time, add example use cases to this README.

Copy Link

Version

Install

install.packages('useful')

Monthly Downloads

3,126

Version

1.2.7

License

BSD_3_clause + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Jared P Lander

Last Published

February 26th, 2026

Functions in useful (1.2.7)

fortify.ts

fortify.ts
cart2pol

cart2pol
fortify.kmeans

fortify.kmeans
numeric.case

numeric.case
interval.check

interval.check
right

Grabs the right side of a data set
reclass

reclass
plot.acf

plot.acf
fortify.acf

fortify.acf
subOut

Sub special characters out of a character vector.
subSpecials

Sub special characters out of character vectors.
left

Grabs the left side of a data set
subVector

subVector
indexToPosition

indexToPosition
multiple_format

multiple_format
multiple.identity

multiple.identity
multiple.comma

multiple.comma
simple.impute.tbl_df

simple.impute.tbl_df
mixed.case

mixed.case
multiple.dollar

multiple.dollar
pol2cart

pol2cart
shift.column

shift.column
topright

Grabs the top right corner of a data set
plot.kmeans

plot.kmeans
colsToFront

colsToFront
moveToFront

moveToFront
plotTimesSeries

plotTimesSeries
multiple

multiple
useful-package

Helper functions
ts.plotter

ts.plotter
vplayout

vplayout
uniqueBidirection

uniqueBidirection
positionToIndex

positionToIndex
upper.case

upper.case
simple.impute.default

simple.impute.default
simple.impute.data.frame

simple.impute.data.frame
timeSingle

timeSingle
topleft

Grabs the top left corner of a data set
simple.impute

simple.impute
binary.flip

binary.flip
bottomleft

Grabs the bottom left corner of a data set
WhichCorner

WhichCorner
autoplot.acf

autoplot.acf
ForceDataFrame

ForceDataFrame
build.y

build.y
classdf

classdf
build.x

build.x
build.formula

Formula Builder
lower.case

lower.case
bottomright

Grabs the bottom right corner of a data set
corner

corner
PlotHartigan

Plot a series of Hartigan's Numbers
FitKMeans

Fit a series of kmeans clusterings and compute Hartigan's Number
ComputeHartigan

Compute Hartigan's Number
MapToInterval

Map numbers to interval
compare.list

List Comparison
find.case

find.case
constant

constant