Learn R Programming

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

caroline (version 0.6.8)

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 (cmdArgsToVariables) and many 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.6.8

License

GPL (>= 2)

Maintainer

David M Schruth

Last Published

December 10th, 2011

Functions in caroline (0.6.8)

spie

Spie charts
text.plot

A Text-Only Plot
labsegs

Buffered Segments for Point Labels
bestBy

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

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

Regexp Match Operator
pct

Add Percentage Columns to a Dataframe
geomean

Calculate the Geometric Mean
wjitter

Weighted Jitter
plotClock

Plot a simple clock.
pies

Pie chart scatterplot
raPlot

Generate a Ratio Average [RAy] Plot.
raAddArms

Add Arms to a RA plot.
dbWriteTable2

Data Import Wrapper for dbWriteTable.
addFactLevs

Add new levels to the Factors in a DataFrame.
raAddAxLabs

Add axis labels to an RA plot.
mvlabs

Move Text Labels Interactively
parseArgString

Process Command Line Arguments
sstable

Sum Sorted Tabulation
cmdArgsToVariables

Create R variables from command line parameters
tab2df

Table to Data Frame
makeElipseCoords

Make Elipse Coordinates
rerowname

Rename select rows of a dataframe
pad

Pad a vector of numerical string with zeros.
write.delim

Write a (tab) delimited text file.
nerge

Named Merge
volins

Plot a Series of Vioplot Violins
vennMatrix

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

Add Significance Lines to an RA plot.
regroup

Regroup a dataframe.
leghead

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

Convert a named list into new objects in memory.
nv

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

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

Grab and adjust the current plot dimensions