Rdocumentation
powered by
Learn R Programming
MESS (version 0.5.12)
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
Link to current version
Version
Version
0.5.12
0.5.9
0.5.7
0.5.6
0.5.5
0.5.4
0.5.3
0.5.2
0.5.0
0.4-3
Install
install.packages('MESS')
Monthly Downloads
2,056
Version
0.5.12
License
GPL-2
Issues
2
Pull Requests
0
Stars
4
Forks
9
Repository
https://github.com/ekstroem/MESS
Maintainer
Claus Ekstrm
Last Published
August 20th, 2023
Functions in MESS (0.5.12)
Search all functions
col.alpha
Add and set alpha channel for RGB color
earthquakes
Earthquakes in 2015
clotting
Blood clotting for 158 rats
filldown
Fill down NA with the last observed observation
feature.test
Inference for features identified by the Lasso
dCov
Fast distance covariance matrix
dCor
Fast distance correlation matrix
drop1.geem
Drop All Possible Single Terms to a geem Model Using Wald or Score Test
cumsumbinning
Binning based on cumulative sum with reset above threshold
ks_cumtest
Kolmogorov-Smirnov goodness of fit test for cumulative discrete data
greenland
Average yearly summer air temperature for Tasiilaq, Greenland
kwdata
Non-parametric Kruskal Wallis data example
gkgamma
Goodman-Kruskal's gamma statistic for a two-dimensional table
expand_table
Expand table or matrix to data frame
drop1.geeglm
Drop All Possible Single Terms to a geeglm Model Using Wald or Score Test
founder.shared
Compute a common shared environment matrix
happiness
Happiness score and tax rates for 148 countries
ht
Show the head and tail of an object
geekin
Fit a generalized estimating equation (GEE) model with fixed additive correlation structure
nh4
Ammonia nitrogen found in river
monte_carlo_chisq_test
Two-sided table test with fixed margins
fac2num
Convert factor to numeric vector
extended.shared
Compute a common shared environment matrix
lifeexpect
Estimated life expectancy for Danish newborns
hwe_frequencies
Fast estimation of allele and genotype frequencies under Hardy-Weinberg equilibrium
matched
Flu hospitalization
lower.tri.vector
Split Matrix by Clusters and Return Lower Triangular Parts as Vector
pairwise.cor.test
Pairwise Tests for Association/Correlation Between Paired Samples
picea
Ozone concentration damage to picea spruce
ordered.clusters
Check if unique elements of a vector appear in contiguous clusters
plr
Fast computation of several simple linear regressions
power_t_test
Power calculations for one and two sample t tests with unequal sample size
power_prop_test
Power Calculations for Two-Sample Test for Proportions with unequal sample size
maximum_subarray
Fast computation of maximum sum subarray
mfastLmCpp
Fast marginal simple regresion analyses
panel.hist
Panel plot of histogram and density curve
power_mcnemar_test
Power Calculations for Exact and Asymptotic McNemar Test in a 2 by 2 table
rmvt.pedigree
Simulate residual multivariate t-distributed data from a polygenic model
power_binom_test
Power Calculations for Exact Test of a simple null hypothesis in a Bernoulli experiment
quadform
Fast quadratic form computation
residual_plot
Plots a standardized residual
loadRData
Load and extract object from RData file
qpcr
Gene expression from real-time quantitative PCR
residualplot.default
Plots a standardized residual
pairwise_combination_indices
Compute all pairwise combinations of indices
pairwise_Schur_product
Compute Schur products (element-wise) of all pairwise combinations of columns in matrix
qdiag
Fast extraction of matrix diagonal
rainman
Perception of points in a swarm
prepost.test
Pretest-posttest RCT for quantitative observations with possible missing values
icecreamads
Ice cream consumption and advertising
repmat
Fast replication of a matrix
rnorm_perfect
Simulate values from a perfect normal distribution
rootonorm
Hanging rootogram for normal distribution
smokehealth
Effect of smoking on self reported health
segregate.genes
Segregate genes through a pedigree
soccer
Danish national soccer players
rmvtnorm.pedigree
Simulate residual multivariate Gaussian data from a polygenic model
sinv
Invert a symmetric positive-definite matrix
scorefct
Internal functions for the MESS package
screen_variables
Screen variable before penalized regression
round_percent
Round vector of number to percentages
tracemp
Fast computation of trace of matrix product
rud
Simulate randomized urn design
usd
Unbiased standard deviation
superroot2
Gene expression data from two-color dye-swap experiment
panel.r2
Panel plot of R2 values for pairs
wallyplot.default
Plots a Wally plot
write.xml
Write a data frame in XML format
adaptive.weights
Compute weights for use with adaptive lasso.
bin
Fast binning of numeric vector into equidistant bins
colCumSum
Apply cumsum to each column of matrix
add_torows
Fast addition of vector to each row of matrix
categorize
A table function to use with magrittr pipes
auc
Compute the area under the curve for two vectors.
col.tint
Tint an RGB color
bees
Bee data. Number of different types of bees caught.
clipit
Copy an object as R-code to the clipboard
MESS
Collection of miscellaneous useful and semi-useful functions
conditional_rowMeans
Form row means conditional on number of non-missing
bdstat
Danish live births and deaths
common.shared
Compute a common shared environment matrix
col.shade
Shade an RGB color
cmd
Correlation matrix distance
age
Compute the age of a person from two dates.
QIC.geeglm
Quasi Information Criterion