Graphics

Color making, 3D graphics.

blindFriendlyColors()

Blind friendly colors.

bfc()

Blind friendly colors.

movieSpin3d()

Create a movie by rotating a 3D rgl scene.

mixcol()

Mix colors in textual representation.

plot3dProj()

Visualize multidimensional data in 3D and/or multiple 2D projections.

plotMatrix()

Plot a matrix.

rgb2hex()

Convert RGB color to text hexadecimal representation.

rglSetMouseCbTrackball()

Link the current device with others to share mouse control using the 'trackball' mode.

Exploratory data analysis

Shadow and correlation matrix, Bland-Altman plot, vertically-aligned histograms, counting NA’s, factor levels, and intersections.

blandAltman()

Bland-Altman plot.

countFactorLevels()

Count the number of factor levels.

countIntersect()

Cardinality of set intersections.

countNa()

Count NA's in a data frame.

histd()

Histogram with defaults.

histld()

Histogram with log counts and defaults.

histv()

Vertically aligned histograms.

histvd()

Vertically aligned histograms.

normality2color()

Sample normality color code.

normality2flag()

Sample normality estimate flag.

percentTrue()

Percentual ratio of TRUE cases.

plotCor()

Plot decorated bivariate correlations.

plotd()

Plot with defaults.

plotShadow()

Plot a shadow matrix.

Data Manipulation

Robust sequences, matrix repetition and conversion, string trimming, factor manipulation.

dropLevels()

Drop unused levels in a factor.

refineFactors()

Refine factors in two twin data frames.

repmat()

Repeat matrix.

rseq()

Robust sequence generation resembling the matlab ':' operator.

strTrim()

Trim leading and trailing spaces from a string.

to.matrix()

Conversion to a matrix.

Data Transformations

flip()

Flip an array.

flip4image()

Flip a matrix to be passed to image.

spca()

Supervised PCA.

txPca()

PCA transform.

txSpca()

Supervised PCA transform.

Machine Learning Tools

Classification performance measures, factor refinement.

perfInd()

Compute performance indicators.

refineFactors()

Refine factors in two twin data frames.

Statistics

Regression calibration and confidence, D’Agostino normality test, p-value manipulation.

VIF()

Variance-inflaction factor.

compensateAlpha()

Significance level compensation for multiple comparisons.

compensatePValue()

P-value compensation for multiple comparisons.

corCritVal()

Critical values for correlation coefficients.

dagostinoTest()

D'Agostino normality test.

lmCalib()

Calibration in regression.

lmInt()

Confidence and prediction intervals for regression.

lmSignif()

Overall linear model significance.

plot(<lmInt>)

Plot confidence and prediction intervals for regression.

plot(<lmIntXY>)

Plot confidence and prediction intervals for regression.

poissonTest()

Test of Poisson distribution.

pvalStars()

p-value text summary.

Math tools

Coordinate conversions, logit/expit, scaling, vector algebra.

cartesian2polar()

Cartesian to polar coordinate conversion.

cartesian2spherical()

Cartesian to spherical coordinate conversion.

expit()

The expit function (the inverse to logit).

lnormPar()

Lognormal distribution parameter conversion.

logit()

The logit function.

normalizeVector()

Normalize vector to unit length.

polar2cartesian()

Polar to Cartesian coordinate conversion.

scaleToUnit()

Scale to unit range.

spherical2cartesian()

Spherical to Cartesian coordinate conversion.

vectorLength()

Vector length.

vectorprod()

3D vector product.

Development Tools

Show the memory occupied, build doc, reload packages.

iclass()

Determine implicit class.

reloadByName()

Reload R package(s).

buildInlineDoc()

inlinedocs build

showObjectsSize()

R object size dump.

Data Generation

Create 2D demo data by mouse clicking.

create2dData()

Create 2D data set interactively.

Debug Printing

Robust sequences, repeating computing indices in distance matrix,

catnl()

Cat with trailing newline.

printWithName()

Print the name and value of a variable.

Misc Utils

Robust sequences, string manipulation, indices in distance matrix,

allSame()

Are all values the same?

columnIndexOf()

Indices of data frame columns identified by name.

computeDistIdx()

Indices into distance matrix.

computeIdxFromDistIdx()

Indices of two samples of given index into distance matrix.

indexOf()

Indices of member(s) in vector.

lcPrefix()

Longest common prefix.

lcPostfix()

Longest common postfix.

rmLcPrefix()

Remove longest common prefix.

rmLcPostfix()

Remove longest common postfix.