Learn R Programming

⚠️There's a newer version (1.9) of this package.Take me there.

MKmisc (version 1.6)

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

744

Version

1.6

License

LGPL-3

Maintainer

Matthias Kohl

Last Published

September 25th, 2019

Functions in MKmisc (1.6)

CV

Compute CV
AUC

Compute AUC
madMatrix

Compute MAD between colums of a matrix or data.frame
HLgof.test

Hosmer-Lemeshow goodness of fit tests.
IQrange

The Interquartile Range
madPlot

Plot of similarity matrix based on MAD
cvCI

Confidence Intervals for Coefficient of Variation
hsu.t.test

Hsu Two-Sample t-Test
imputeSD

Impute Standard Deviations for Changes from Baseline
pairwise.mod.t.test

Pairwise Moderated t-Tests
fiveNS

Five-Number Summaries
normDiffCI

Confidence Intervals for Difference of Means
oneWayAnova

A function for Analysis of Variance
qbxp.stats

Box Plot Statistics
predValues

Compute PPV and NPV.
print.confint

Print Method for Confidence Intervals
qboxplot

Box Plots
power.nb.test

Power calculation for comparing two negative binomial rates
pairwise.auc

Compute pairwise AUCs
power.welch.t.test

Power calculations for two sample Welch t test
perfMeasures

Compute Performance Measures and Scores for Binary Classification
pairwise.logfc

Compute pairwise log-fold changes
simPlot

Plot of a similarity matrix.
simCorVars

Simulate correlated variables.
risks

Compute RR, OR, etc.
rrCI

Compute Approximate Confidence Interval for RR.
corDist

Correlation Distance Matrix Computation
stringSim

Function to compute similarity scores between strings
corPlot

Plot of similarity matrix based on correlation
thyroid

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

Compute SNR
power.diagnostic.test

Power calculations for a diagnostic test
power.hsu.t.test

Power calculations for two sample Hsu t test
mod.t.test

Moderated t-Test
glog

Compute Generalized Logarithm
traceBack

Function to trace back
heatmapCol

Generate colors for heatmaps
normCI

Confidence Intervals for Mean and Standard Deviation
transformations

New Transformations for Use with ggplot2 Package
binomCI

Confidence Intervals for Binomial Proportions
or2rr

Transform OR to RR
repMeans

Compute mean of replicated spots
optCutoff

Compute the Optimal Cutoff for Binary Classification
twoWayAnova

A function for Analysis of Variance
quantileCI

Confidence Intervals for Quantiles
melt.long

Transform data.frame to Long Form
meanAD

The Mean Absolute Deviation
mi.t.test

Multiple Imputation Student's t-Test
mod.oneway.test

Moderated 1-Way ANOVA
pairwise.fc

Compute pairwise fold changes
stringDist

Function to compute distances between strings
pairwise.fun

Compute pairwise values for a given function
ssize.pcc

Sample Size Planning for Developing Classifiers Using High Dimensional Data
AUC.test

AUC-Test
MKmisc-package

Miscellaneous Functions from M. Kohl.