Learn R Programming

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

caroline (version 0.8.0)

A Collection of Database, Data Structure, Visualization, and Utility Functions for R

Description

The caroline R library contains dozens of functions useful for: database migration (dbWriteTable2), database style joins & aggregation (nerge, groupBy & bestBy), data structure conversion (nv, tab2df), legend table making (sstable & leghead), plot annotation (labsegs & mvlabs), data visualization (violins, pies & raPlot), character string manipulation (m & pad), file I/O (write.delim), batch scripting and more. The package's greatest contributions lie in the database style merge, aggregation and interface functions as well as in it's extensive use and propagation of row, column and vector names in most functions.

Copy Link

Version

Install

install.packages('caroline')

Monthly Downloads

551

Version

0.8.0

License

Artistic-2.0

Maintainer

David Schruth

Last Published

May 3rd, 2022

Functions in caroline (0.8.0)

mvlabs

Move Text Labels Interactively
raAddArms

Add Arms to a RA plot.
raAddAxLabs

Add axis labels to an RA plot.
nerge

Named Merge
m

Regexp Match Operator
write.delim

Write a (tab) delimited text file.
makeElipseCoords

Make Elipse Coordinates
raPlot

Generate a Ratio Average [RAy] Plot.
raAddSigLines

Add Significance Lines to an RA plot.
nv

Create a named vector from a dataframe, table or vector
usr2lims

Grab and adjust the current plot dimensions
rerowname

Rename select rows of a dataframe
heatmatrix

Simple Heatmap Plot
pies

Pie chart scatterplot
spie

Spie charts
pad

Pad a vector of numerical string with zeros.
pct

Add Percentage Columns to a Dataframe
parseArgString

Process Command Line Arguments
plotClock

Plot a simple clock.
stats

Descriptive Statistics
tab2df

Table to Data Frame
sstable

Sum Sorted Tabulation
textplot

A Text-Only Plot
read.tab

Read in a Tab Delimited File.
vennMatrix

Create a Venn Ready Matrix out of a List of Factors
volins

Plot a Series of Vioplot Violins
wjitter

Weighted Jitter
regroup

Regroup a dataframe.
hyperplot

Annotate Outliers in a Scatterplot via an HTML Image-Map
leghead

Generate a Color Coded Legend dataframe via head and sum.
labsegs

Buffered Segments for Point Labels
bestBy

Find the "best" record within subgroups of a dataframe.
dbWriteTable2

Data Import Wrapper for dbWriteTable.
groupBy

Group a datafame by a factor and perform aggreate functions.
geomean

Calculate the Geometric Mean
addFactLevs

Add new levels to the Factors in a DataFrame.
install.prev.pkg

Install the next oldest package