Learn R Programming

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

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

3,126

Version

1.2.3

License

BSD_3_clause + file LICENSE

Maintainer

Jared P Lander

Last Published

June 7th, 2017

Functions in useful (1.2.3)

PlotHartigan

Plot a series of Hartigan's Numbers
WhichCorner

WhichCorner
build.x

build.x
build.y

build.y
mixed.case

mixed.case
moveToFront

moveToFront
pol2cart

pol2cart
positionToIndex

positionToIndex
binary.flip

binary.flip
bottomleft

Grabs the bottom left corner of a data set
find.case

find.case
fortify.acf

fortify.acf
multiple_format

multiple_format
numeric.case

numeric.case
subOut

Sub special characters out of a character vector.
subSpecials

Sub special characters out of character vectors.
reclass

reclass
right

Grabs the right side of a data set
upper.case

upper.case
useful

Helper functions
bottomright

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

Formula Builder
constant

constant
fortify.kmeans

fortify.kmeans
fortify.ts

fortify.ts
shift.column

shift.column
simple.impute

simple.impute
ForceDataFrame

ForceDataFrame
MapToInterval

Map numbers to interval
colsToFront

colsToFront
compare.list

List Comparison
corner

corner
multiple

multiple
multiple.comma

multiple.comma
ts.plotter

ts.plotter
uniqueBidirection

uniqueBidirection
ComputeHartigan

Compute Hartigan's Number
FitKMeans

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

cart2pol
classdf

classdf
multiple.dollar

multiple.dollar
multiple.identity

multiple.identity
vplayout

vplayout
indexToPosition

indexToPosition
interval.check

interval.check
plot.kmeans

plot.kmeans
plotTimesSeries

plotTimesSeries
simple.impute.data.frame

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

simple.impute.default
left

Grabs the left side of a data set
lower.case

lower.case
plot

plot
plot.acf

plot.acf
simple.impute.tbl_df

simple.impute.tbl_df
subVector

subVector
topleft

Grabs the top left corner of a data set
topright

Grabs the top right corner of a data set