Learn R Programming

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

caroline (version 0.6.6)

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

587

Version

0.6.6

License

GPL (>= 2)

Maintainer

David M Schruth

Last Published

November 29th, 2011

Functions in caroline (0.6.6)

addFactLevs

Add new levels to the Factors in a DataFrame.
bestBy

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

Pad a vector of numerical string with zeros.
cmdArgsToVariables

Create R variables from command line parameters
geomean

Calculate the Geometric Mean
delist

Convert a named list into new objects in memory.
parseArgString

Process Command Line Arguments
tab2df

Table to Data Frame
nv

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

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

Rename select rows of a dataframe
raAddSigLines

Add Significance Lines to an RA plot.
wjitter

Weighted Jitter
makeElipseCoords

Make Elipse Coordinates
sstable

Sum Sorted Tabulation
usr2lims

Grab and adjust the current plot dimensions
mvlabs

Move Text Labels Interactively
groupBy

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

Add Percentage Columns to a Dataframe
raPlot

Generate a Ratio Average [RAy] Plot.
pies

Pie chart scatterplot
dbWriteTable2

Data Import Wrapper for dbWriteTable.
leghead

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

Add Arms to a RA plot.
nerge

Named Merge
vennMatrix

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

Write a (tab) delimited text file.
raAddAxLabs

Add axis labels to an RA plot.
m

Regexp Match Operator
spie

Spie charts
volins

Plot a Series of Vioplot Violins
plotClock

Plot a simple clock.
labsegs

Buffered Segments for Point Labels
regroup

Regroup a dataframe.
text.plot

A Text-Only Plot