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 varried I will, over time, add example use cases to this README.

Copy Link

Version

Install

install.packages('useful')

Monthly Downloads

11,853

Version

1.2.6.1

License

BSD_3_clause + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Jared P Lander

Last Published

October 24th, 2023

Functions in useful (1.2.6.1)

classdf

classdf
ForceDataFrame

ForceDataFrame
autoplot.acf

autoplot.acf
ComputeHartigan

Compute Hartigan's Number
binary.flip

binary.flip
FitKMeans

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

Map numbers to interval
compare.list

List Comparison
constant

constant
colsToFront

colsToFront
bottomleft

Grabs the bottom left corner of a data set
build.formula

Formula Builder
plotTimesSeries

plotTimesSeries
interval.check

interval.check
WhichCorner

WhichCorner
build.x

build.x
left

Grabs the left side of a data set
build.y

build.y
multiple

multiple
load_packages

load_packages
cart2pol

cart2pol
fortify.acf

fortify.acf
pol2cart

pol2cart
lower.case

lower.case
positionToIndex

positionToIndex
multiple.comma

multiple.comma
mixed.case

mixed.case
plot.acf

plot.acf
bottomright

Grabs the bottom right corner of a data set
subVector

subVector
subOut

Sub special characters out of a character vector.
reclass

reclass
fortify.kmeans

fortify.kmeans
corner

corner
find.case

find.case
plot.kmeans

plot.kmeans
fortify.ts

fortify.ts
multiple_format

multiple_format
ts.plotter

ts.plotter
topleft

Grabs the top left corner of a data set
topright

Grabs the top right corner of a data set
vplayout

vplayout
indexToPosition

indexToPosition
numeric.case

numeric.case
uniqueBidirection

uniqueBidirection
simple.impute.default

simple.impute.default
simple.impute.tbl_df

simple.impute.tbl_df
upper.case

upper.case
useful

Helper functions
moveToFront

moveToFront
right

Grabs the right side of a data set
multiple.dollar

multiple.dollar
multiple.identity

multiple.identity
shift.column

shift.column
simple.impute

simple.impute
simple.impute.data.frame

simple.impute.data.frame
subSpecials

Sub special characters out of character vectors.
timeSingle

timeSingle
PlotHartigan

Plot a series of Hartigan's Numbers