Learn R Programming

MKmisc (version 1.9)

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

816

Version

1.9

License

LGPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

November 19th, 2022

Functions in MKmisc (1.9)

AUC

Compute AUC
MKmisc-package

Miscellaneous Functions from M. Kohl.
corDist

Correlation Distance Matrix Computation
IQrange

The Interquartile Range
corPlot

Plot of similarity matrix based on correlation
HLgof.test

Hosmer-Lemeshow goodness of fit tests.
CV

Compute CV
binomCI

Confidence Intervals for Binomial Proportions
SNR

Compute SNR
AUC.test

AUC-Test
imputeSD

Impute Standard Deviations for Changes from Baseline
glog

Compute Generalized Logarithm
cvCI

Confidence Intervals for Coefficient of Variation
meanAD

The Mean Absolute Deviation
melt.long

Transform data.frame to Long Form
hsu.t.test

Hsu Two-Sample t-Test
madPlot

Plot of similarity matrix based on MAD
madMatrix

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

Five-Number Summaries
pairwise.auc

Compute pairwise AUCs
mod.t.test

Moderated t-Test
pairwise.mod.t.test

Pairwise Moderated t-Tests
normDiffCI

Confidence Intervals for Difference of Means
heatmapCol

Generate colors for heatmaps
optCutoff

Compute the Optimal Cutoff for Binary Classification
normCI

Confidence Intervals for Mean and Standard Deviation
or2rr

Transform OR to RR
mod.oneway.test

Moderated 1-Way ANOVA
mi.t.test

Multiple Imputation Student's t-Test
power.welch.t.test

Power calculations for two sample Welch t test
print.confint

Print Method for Confidence Intervals
power.diagnostic.test

Power calculations for a diagnostic test
pairwise.fc

Compute pairwise fold changes
oneWayAnova

A function for Analysis of Variance
perfMeasures

Compute Performance Measures and Scores for Binary Classification
pairwise.fun

Compute pairwise values for a given function
pairwise.logfc

Compute pairwise log-fold changes
predValues

Compute PPV and NPV.
power.nb.test

Power calculation for comparing two negative binomial rates
power.hsu.t.test

Power calculations for two sample Hsu t test
quantileCI

Confidence Intervals for Quantiles
qbxp.stats

Box Plot Statistics
simCorVars

Simulate correlated variables.
rrCI

Compute Approximate Confidence Interval for RR.
risks

Compute RR, OR, etc.
simPlot

Plot of a similarity matrix.
qboxplot

Box Plots
ssize.pcc

Sample Size Planning for Developing Classifiers Using High Dimensional Data
repMeans

Compute mean of replicated spots
stringDist

Function to compute distances between strings
thyroid

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

Function to trace back
stringSim

Function to compute similarity scores between strings
twoWayAnova

A function for Analysis of Variance
transformations

New Transformations for Use with ggplot2 Package