Learn R Programming

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

caroline (version 0.7.2)

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

472

Version

0.7.2

License

GPL (>= 2)

Maintainer

David M Schruth

Last Published

May 9th, 2012

Functions in caroline (0.7.2)

makeElipseCoords

Make Elipse Coordinates
cmdArgsToVariables

Create R variables from command line parameters
sstable

Sum Sorted Tabulation
m

Regexp Match Operator
plotClock

Plot a simple clock.
regroup

Regroup a dataframe.
pct

Add Percentage Columns to a Dataframe
spie

Spie charts
parseArgString

Process Command Line Arguments
raPlot

Generate a Ratio Average [RAy] Plot.
nerge

Named Merge
textplot

A Text-Only Plot
heatmatrix

Simple Heatmap Plot
raAddArms

Add Arms to a RA plot.
raAddSigLines

Add Significance Lines to an RA plot.
rerowname

Rename select rows of a dataframe
wjitter

Weighted Jitter
read.tab

Read in a Tab Delimited File.
dbWriteTable2

Data Import Wrapper for dbWriteTable.
addFactLevs

Add new levels to the Factors in a DataFrame.
usr2lims

Grab and adjust the current plot dimensions
volins

Plot a Series of Vioplot Violins
leghead

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

Add axis labels to an RA plot.
groupBy

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

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

Pie chart scatterplot
hyperplot

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

Table to Data Frame
vennMatrix

Create a Venn Ready Matrix out of a List of Factors
write.delim

Write a (tab) delimited text file.
delist

Convert a named list into new objects in memory.
pad

Pad a vector of numerical string with zeros.
labsegs

Buffered Segments for Point Labels
mvlabs

Move Text Labels Interactively
bestBy

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

Calculate the Geometric Mean