Learn R Programming

caroline (version 0.9.9)

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), automatic legend positioning for scatter and box plots (), plot annotation (labsegs & mvlabs), data visualization (pies, sparge, confound.grid & raPlot), character string manipulation (m & pad), file I/O (write.delim), batch scripting, data exploration, 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.9.9

License

Artistic-2.0

Maintainer

David Schruth

Last Published

October 21st, 2024

Functions in caroline (0.9.9)

nerge

Named Merge
raAddAxLabs

Add axis labels to an RA plot.
parseArgString

Process Command Line Arguments
leghead

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

Spie charts
sstable

Sum Sorted Tabulation
tab2df

Table to Data Frame
plot.sparge

Visually compare all points from different univariate distributions
plot.xy.ab.p

An x/y scatterplot with a linear regression line and p-value
textplot

A Text-Only Plot
pct

Add Percentage Columns to a Dataframe
write.delim

Write a (tab) delimited text file.
usr2lims

Grab and adjust the current plot dimensions
wjitter

Weighted Jitter
vennMatrix

Create a Venn Ready Matrix out of a List of Factors
plot.confound.grid

Plot a grid of x y plots split by a confounder z
pies

Pie chart scatterplot
raAddSigLines

Add Significance Lines to an RA plot.
raPlot

Generate a Ratio Average [RAy] Plot.
plotClock

Plot a simple clock.
raAddArms

Add Arms to a RA plot.
regroup

Regroup a dataframe.
rerowname

Rename select rows of a dataframe
read.tab

Read in a Tab Delimited File.
ellipsis.defaults

Modify defaults of possible optional ellipsis parameter values passed to a function
addFactLevs

Add new levels to the Factors in a DataFrame.
heatmatrix

Simple Heatmap Plot
fit.1ln.rprt

Report a model fit in a single line of text output
legend.position

automatically find an optimal position a plot legend based on point counts in each plot corner
bestBy

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

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

Regexp Match Operator
mvlabs

Move Text Labels Interactively
makeElipseCoords

Make Elipse Coordinates
dbWriteTable2

Data Import Wrapper for dbWriteTable.
groupBy

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

Calculate the Geometric Mean
nv

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

Pad a vector of numerical string with zeros.
distro.dots

Distribution plot of points
install.prev.pkg

Install the next oldest package
labsegs

Buffered Segments for Point Labels