A Collection of Database, Data Structure, Data Conversion, Visualization, Reporting, and General Utility Functions

This R-extension package contains dozens of functions useful for: database style joins [nerge()] & aggregation [bestBy(), groupBy() & regroup()], database migration [dbWriteTable2()], file I/O [write.delim(), read.tab()], text parsing / data mining [m()], data structure conversion [nv(), tab2df()], summarizing & reporting [pct(), fit.1ln.rprt()], character string manipulation [m() & pad()], legend table making [sstable() & leghead()] & plot placement [legend.position()], plot annotation [labsegs() & mvlabs()], data visualization [pies(), spie(), & heatmatrix()], and data exploration [hyperplot(), plot.xy.ab.p()], batch scripting [parseArgString()]. The package's greatest contributions stem from its 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. The latest additions are plotting functions [confound.grid() & sparge()] that intake a dataframe & formulas to visually resolve variable confounding (Simpson, 1951).


caroline: A Collection of Database, Data Structure, Visualization, and Utility Functions for R.

(this Rmarkdown file is currently unused and under development and exists for example purposes only)

CRAN_Status_Badge [CRAN_Downloads_Badge

Citation

If you'd like to cite 'caroline', please cite as follows:

"David M. Schruth (2026) "caroline A Collection of Database, Data Structure, Visualization, and Utility Functions for R.", "Comprehensive R Archive Network", "https://CRAN.R-project.org/package=caroline")

Installation

Install the stable release from CRAN:

install.packages("caroline")

Or install directly from github using devtools

library(caroline)

Usage

See the online package vignette for more examples:

browseVignettes("caroline")

Take a look at the built-in data:

head(treeloss)

Basic sparge plot using built-in data:

plot.sparge(treeloss)

Get help:

?n
?nv
?pct
?nerge
?tab2df
?sstable
?groupBy
?bestBy
?sparge
?heatmatrix
?confound.grid

Notes

  • This package has been purposefully simplified for the sake of maintainability and to reduce dependence on other more distantly complex uni-'verses' of code.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("caroline")

1.1.2 by David Schruth, 3 months ago


Browse source code at https://github.com/cran/caroline


Authors: David Schruth [aut, cre]


Documentation:   PDF Manual  


Artistic-2.0 license


Depends on methods

Suggests MASS, RSQLite, grid

Enhances DBI, gplots


Imported by conStruct, mmodely.

Depended on by primate.

Suggested by MetabolSSMF.


See at CRAN