Learn R Programming

MKmisc (version 2.0)

Miscellaneous Functions from M. Kohl

Description

Contains several functions for statistical data analysis; e.g. for sample size and power calculations, computation of confidence intervals and tests, and generation of similarity matrices.

Copy Link

Version

Install

install.packages('MKmisc')

Monthly Downloads

502

Version

2.0

License

LGPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Matthias Kohl

Last Published

May 7th, 2026

Functions in MKmisc (2.0)

pairwise.auc

Compute pairwise AUCs
mod.t.test

Moderated t-Test
optCutoff

Compute the Optimal Cutoff for Binary Classification
normDiffCI

Confidence Intervals for Difference of Means
mi.t.test

Multiple Imputation Student's t-Test
or2rr

Transform OR to RR
normCI

Confidence Intervals for Mean and Standard Deviation
pairwise.mod.t.test

Pairwise Moderated t-Tests
oneWayAnova

A function for Analysis of Variance
mod.oneway.test

Moderated 1-Way ANOVA
power.hsu.t.test

Power calculations for two sample Hsu t test
print.confint

Print Method for Confidence Intervals
pairwise.fun

Compute pairwise values for a given function
pairwise.fc

Compute pairwise fold changes
predValues

Compute PPV and NPV.
power.diagnostic.test

Power calculations for a diagnostic test
power.nb.test

Power calculation for comparing two negative binomial rates
perfMeasures

Compute Performance Measures and Scores for Binary Classification
pairwise.logfc

Compute pairwise log-fold changes
power.welch.t.test

Power calculations for two sample Welch t test
simPlot

Plot of a similarity matrix.
qbxp.stats

Box Plot Statistics
repMeans

Compute mean of replicated spots
ssize.pcc

Sample Size Planning for Developing Classifiers Using High Dimensional Data
risks

Compute RR, OR, etc.
stringDist

Function to compute distances between strings
rrCI

Compute Approximate Confidence Interval for RR.
simCorVars

Simulate correlated variables.
quantileCI

Confidence Intervals for Quantiles
qboxplot

Box Plots
stringSim

Function to compute similarity scores between strings
transformations

New Transformations for Use with ggplot2 Package
traceBack

Function to trace back
thyroid

Plot TSH, fT3 and fT4 with respect to reference range.
twoWayAnova

A function for Analysis of Variance
corDist

Correlation Distance Matrix Computation
AUC.test

AUC-Test
SNR

Compute SNR
heatmapCol

Generate colors for heatmaps
glog

Compute Generalized Logarithm
CV

Compute CV
binomCI

Confidence Intervals for Binomial Proportions
AUC

Compute AUC
MKmisc-package

Miscellaneous Functions from M. Kohl.
corPlot

Plot of similarity matrix based on correlation
HLgof.test

Hosmer-Lemeshow goodness of fit tests.
IQrange

The Interquartile Range
melt.long

Transform data.frame to Long Form
imputeSD

Impute Standard Deviations for Changes from Baseline
hsu.t.test

Hsu Two-Sample t-Test
meanAD

The Mean Absolute Deviation
cvCI

Confidence Intervals for Coefficient of Variation
madMatrix

Compute MAD between colums of a matrix or data.frame
fiveNS

Five-Number Summaries
madPlot

Plot of similarity matrix based on MAD