Learn R Programming

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

caroline (version 0.7.4)

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.7.4

License

GPL (>= 2)

Maintainer

David M Schruth

Last Published

June 22nd, 2012

Functions in caroline (0.7.4)

geomean

Calculate the Geometric Mean
hyperplot

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

Add Significance Lines to an RA plot.
heatmatrix

Simple Heatmap Plot
pad

Pad a vector of numerical string with zeros.
nv

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

Add new levels to the Factors in a DataFrame.
makeElipseCoords

Make Elipse Coordinates
pct

Add Percentage Columns to a Dataframe
mvlabs

Move Text Labels Interactively
raAddArms

Add Arms to a RA plot.
pies

Pie chart scatterplot
nerge

Named Merge
spie

Spie charts
cmdArgsToVariables

Create R variables from command line parameters
plotClock

Plot a simple clock.
write.delim

Write a (tab) delimited text file.
tab2df

Table to Data Frame
raAddAxLabs

Add axis labels to an RA plot.
raPlot

Generate a Ratio Average [RAy] Plot.
rerowname

Rename select rows of a dataframe
wjitter

Weighted Jitter
bestBy

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

Buffered Segments for Point Labels
sstable

Sum Sorted Tabulation
dbWriteTable2

Data Import Wrapper for dbWriteTable.
leghead

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

Regexp Match Operator
parseArgString

Process Command Line Arguments
textplot

A Text-Only Plot
stats

Descriptive Statistics
delist

Convert a named list into new objects in memory.
read.tab

Read in a Tab Delimited File.
regroup

Regroup a dataframe.
vennMatrix

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

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

Grab and adjust the current plot dimensions
volins

Plot a Series of Vioplot Violins