Man pages for helophilus/ColsTools
A variety of convenience tools and short-cuts

arrowheaddraws an arrow head at specified coordinates
assrandrandomization method for test of association/independence in...
bin2decconversion between decimal and binary
colGradLegendAdds a colour gradient legend to a base plot
cor.heatProduce a correlation matrix as a heatmap.
cornershow the top-left corner of a data frame or matrix
dec2binconversion from decimal to binary
distShadeShade the area under an existing distribution curve from two...
dummyConvert a single variable of multiple levels into binary...
errorbarsadd asymertric error bars to existing scatter plot
gofRandrandomization test for goodness of fit
ilogitcalculates the inverse logit
invlogitinverse logit function using glm model parameters
KcrossProduces indexes to split data into test and training groups...
missreturns values from vector that are not included in a second
ModCVCross validation of a regression Model using indexes created...
msecalculates mean squared error from predictions vs actual for...
newscaleconvert vector linearly to new scale defined by provided min...
nnearfinds the nearest values in a vector to a specified target...
normareaadd shaded area to existing normal distribution curve
npmc.testmultiple comparisons for non-parametric data after, e.g.,...
panel.corThis is not my code, but I can't find it in a package I've...
panel.histModification of pairs plots to show histograms and...
panel.pointsModification of pairs plots to show histograms and...
PBayescalculate a probability from Bayes Theorem.
poisGoFcalculates probability of data not being Poisson distributed...
poissonGoFgoodness-of-fit test for a Poisson distribution
precplotreplacement for rethinking::plot(precis(model)) which doesn't...
propzconvert vector to proportions
ROCplotSimple ROC curve with optimal threshold and AUC approximation
stats2x2produces statistics from a 2 x 2 contingency table
sumsqreturn sum of squares wrt to mean or supplied value
titlecasesentence case for single character string
totsa simple function to add totals to a contingency table (or...
transpmake colours in plots transparent
twoColPrepares data frame for analysis by binomial glm using...
UNIremove repeated rows from data frame so stipulated variable...
vifsGives variance inflation factors for a linear model or data...
helophilus/ColsTools documentation built on May 30, 2019, 4:03 p.m.