Learn R Programming

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

MESS (version 0.4-3)

Miscellaneous Esoteric Statistical Scripts

Description

A mixed collection of useful and semi-useful diverse statistical functions, some of which may even be referenced in The R Primer book.

Copy Link

Version

Install

install.packages('MESS')

Monthly Downloads

3,086

Version

0.4-3

License

GPL-2

Maintainer

Claus Ekstrm

Last Published

June 21st, 2016

Functions in MESS (0.4-3)

bees

Bee data. Number of different types of bees caught.
bdstat

Danish live births and deaths
age

Compute the age of a person from two dates.
auc

Compute the area under the curve for two vectors.
cmd

Correlation matrix distance
adaptive.weights

Compute weights for use with adaptive lasso.
col.shade

Shade an RGB color
col.alpha

Add and set alpha channel for RGB color
clotting

Blood clotting for 158 rats
col.tint

Tint an RGB color
common.shared

Compute a common shared environment matrix
feature.test

Inference for features identified by the Lasso
fac2num

Convert factor to numeric vector
drop1.geeglm

Drop All Possible Single Terms to a geeglm Model Using Wald Test
mfastLm_cpp

Fast marginal simple regresion analyses
earthquakes

Earthquakes in 2015
MESS

Collection of miscellaneous useful and semi-useful functions
matched

Flu hospitalization
icecreamads

Ice cream consumption and advertising
ht

Show the head and tail of an object
filldown

Fill down NA with the last observed observation
geekin

Fit a generalized estimating equation (GEE) model with fixed additive correlation structure
gkgamma

Goodman-Kruskal's gamma statistic for a two-dimensional table
greenland

Average yearly summer air temperature for Tasiilaq, Greenland
extended.shared

Compute a common shared environment matrix
power.mcnemar.test

Power Calculations for Exact and Asymptotic McNemar Test in a 2 by 2 table
panel.hist

Panel plot of histogram and density curve
picea

Ozone concentration damage to picea spruce
power.binom.test

Power Calculations for Exact Test of a simple null hypothesis in a Bernoulli experiment
lifeexpect

Estimated life expectancy for Danish newborns
happiness

Happiness score and tax rates for 148 countries
rmvt.pedigree

Simulate residual multivariate t-distributed data from a polygenic model
qpcr

Gene expression from real-time quantitative PCR
scorefct

Internal functions for the MESS package
tracemp

Fast computation of trace of matrix product
lower.tri.vector

Split Matrix by Clusters and Return Lower Triangular Parts as Vector
nh4

Ammonia nitrogen found in river
wallyplot.default

Plots a Wally plot
superroot2

Gene expression data from two-color dye-swap experiment
write.xml

Write a data frame in XML format
smokehealth

Effect of smoking on self reported health
soccer

Danish national soccer players
panel.r2

Panel plot of R2 values for pairs
kwdata

Non-parametric Kruskal Wallis data example
ordered.clusters

Check if unique elements of a vector appear in contiguous clusters
QIC.geeglm

Quasi Information Criterion
power.t.test

Power calculations for one and two sample t tests with unequal sample size
qdiag

Fast extraction of matrix diagonal
rootonorm

Hanging rootogram for normal distribution
residualplot.default

Plots a standardaized residual
repmat

Fast replication of a matrix
quadform

Fast quadratic form computation
segregate.genes

Segregate genes through a pedigree
rmvtnorm.pedigree

Simulate residual multivariate Gaussian data from a polygenic model
sinv

Invert a symmetric positive-definite matrix
rainman

Perception of points in a swarm