Package: MESS 0.5.12

Claus Thorn Ekstrøm

MESS: Miscellaneous Esoteric Statistical Scripts

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

Authors:Claus Thorn Ekstrøm [aut, cre], Niels Aske Lundtorp Olsen [ctb]

MESS_0.5.12.tar.gz
MESS_0.5.12.zip(r-4.5)MESS_0.5.12.zip(r-4.4)MESS_0.5.12.zip(r-4.3)
MESS_0.5.12.tgz(r-4.4-x86_64)MESS_0.5.12.tgz(r-4.4-arm64)MESS_0.5.12.tgz(r-4.3-x86_64)MESS_0.5.12.tgz(r-4.3-arm64)
MESS_0.5.12.tar.gz(r-4.5-noble)MESS_0.5.12.tar.gz(r-4.4-noble)
MESS_0.5.12.tgz(r-4.4-emscripten)MESS_0.5.12.tgz(r-4.3-emscripten)
MESS.pdf |MESS.html
MESS/json (API)

# Install 'MESS' in R:
install.packages('MESS', repos = c('https://ekstroem.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/ekstroem/mess/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
Datasets:
  • bdstat - Danish live births and deaths
  • bees - Bee data. Number of different types of bees caught.
  • clotting - Blood clotting for 158 rats
  • earthquakes - Earthquakes in 2015
  • greenland - Average yearly summer air temperature for Tasiilaq, Greenland
  • happiness - Happiness score and tax rates for 148 countries
  • icecreamads - Ice cream consumption and advertising
  • kwdata - Non-parametric Kruskal Wallis data example
  • lifeexpect - Estimated life expectancy for Danish newborns
  • matched - Flu hospitalization
  • nh4 - Ammonia nitrogen found in river
  • picea - Ozone concentration damage to picea spruce
  • qpcr - Gene expression from real-time quantitative PCR
  • rainman - Perception of points in a swarm
  • smokehealth - Effect of smoking on self reported health
  • soccer - Danish national soccer players
  • superroot2 - Gene expression data from two-color dye-swap experiment

On CRAN:

biostatisticspower-analysisstatistical-analysisstatistical-methodsstatistical-models

7.72 score 4 stars 12 packages 342 scripts 2.1k downloads 57 mentions 64 exports 73 dependencies

Last updated 1 years agofrom:d972636f2a. Checks:OK: 1 ERROR: 8. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 27 2024
R-4.5-win-x86_64ERROROct 27 2024
R-4.5-linux-x86_64ERROROct 27 2024
R-4.4-win-x86_64ERROROct 27 2024
R-4.4-mac-x86_64ERROROct 27 2024
R-4.4-mac-aarch64ERROROct 27 2024
R-4.3-win-x86_64ERROROct 27 2024
R-4.3-mac-x86_64ERROROct 27 2024
R-4.3-mac-aarch64ERROROct 27 2024

Exports:adaptive.weightsadd_torowsageaucbincategorizeclipitcmdcol.alphacol.shadecol.tintcolCumSumcommon.sharedconditional_rowMeanscumsumbinningdCordCovexpand_tableextended.sharedfac2numfeature.testfilldownfounder.sharedgeekingkgammahthwe_frequenciesks_cumtestloadRDatalower.tri.vectormaximum_subarraymfastLmCppmonte_carlo_chisq_testordered.clusterspairwise_combination_indicespairwise_Schur_productpairwise.cor.testpanel.histpanel.r2plrpower_binom_testpower_mcnemar_testpower_prop_testpower_t_testprepost.testqdiagQICquadformrepmatresidual_plotresidualplotrmvt.pedigreermvtnorm.pedigreernorm_perfectrootonormround_percentrudscreen_variablessegregate.genessinvtracempusdwallyplotwrite.xml

Dependencies:backportsbitbit64broomclicliprcodetoolscolorspacecpp11crayondplyrevaluatefansifarverforcatsforeachgeeMgeepackgenericsggformulaggplot2ggridgesglmnetgluegtablehavenhighrhmsisobanditeratorskinship2knitrlabelinglabelledlatticelifecyclemagrittrMASSMatrixmgcvmosaicCoremunsellmvtnormnlmepillarpkgconfigprettyunitsprogresspurrrquadprogR6RColorBrewerRcppRcppArmadilloRcppEigenreadrrlangscalesshapestringistringrsurvivaltibbletidyrtidyselecttzdbutf8vctrsviridisLitevroomwithrxfunyaml

Readme and manuals

Help Manual

Help pageTopics
Compute weights for use with adaptive lasso.adaptive.weights
Fast addition of vector to each row of matrixadd_torows
Compute the age of a person from two dates.age
Compute the area under the curve for two vectors.auc
Danish live births and deathsbdstat
Bee data. Number of different types of bees caught.bees
Fast binning of numeric vector into equidistant binsbin
A table function to use with magrittr pipescategorize
Copy an object as R-code to the clipboardclipit
Blood clotting for 158 ratsclotting
Correlation matrix distancecmd
Add and set alpha channel for RGB colorcol.alpha
Shade an RGB colorcol.shade
Tint an RGB colorcol.tint
Apply cumsum to each column of matrixcolCumSum
Compute a common shared environment matrixcommon.shared common.shared.pedigree common.shared.pedigreeList
Form row means conditional on number of non-missingconditional_rowMeans
Binning based on cumulative sum with reset above thresholdcumsumbinning
Fast distance correlation matrixdCor
Fast distance covariance matrixdCov
Drop All Possible Single Terms to a geeglm Model Using Wald or Score Testdrop1.geeglm
Drop All Possible Single Terms to a geem Model Using Wald or Score Testdrop1.geem
Earthquakes in 2015earthquakes
Expand table or matrix to data frameexpand_table
Compute a common shared environment matrixextended.shared extended.shared.pedigree extended.shared.pedigreeList
Convert factor to numeric vectorfac2num
Inference for features identified by the Lassofeature.test
Fill down NA with the last observed observationfilldown
Compute a common shared environment matrixfounder.shared founder.shared.pedigree founder.shared.pedigreeList
Fit a generalized estimating equation (GEE) model with fixed additive correlation structuregeekin print.geekin
Goodman-Kruskal's gamma statistic for a two-dimensional tablegkgamma
Average yearly summer air temperature for Tasiilaq, Greenlandgreenland
Happiness score and tax rates for 148 countrieshappiness
Show the head and tail of an objectht
Fast estimation of allele and genotype frequencies under Hardy-Weinberg equilibriumhwe_frequencies
Ice cream consumption and advertisingicecreamads
Kolmogorov-Smirnov goodness of fit test for cumulative discrete dataks_cumtest
Non-parametric Kruskal Wallis data examplekwdata
Estimated life expectancy for Danish newbornslifeexpect
Load and extract object from RData fileloadRData
Split Matrix by Clusters and Return Lower Triangular Parts as Vectorlower.tri.vector
Flu hospitalizationmatched
Fast computation of maximum sum subarraymaximum_subarray
Collection of miscellaneous useful and semi-useful functionsMESS-package MESS
Fast marginal simple regresion analysesmfastLmCpp
Two-sided table test with fixed marginsmonte_carlo_chisq_test
Ammonia nitrogen found in rivernh4
Check if unique elements of a vector appear in contiguous clustersordered.clusters
Compute all pairwise combinations of indicespairwise_combination_indices
Compute Schur products (element-wise) of all pairwise combinations of columns in matrixpairwise_Schur_product
Pairwise Tests for Association/Correlation Between Paired Samplespairwise.cor.test
Panel plot of histogram and density curvepanel.hist
Panel plot of R2 values for pairspanel.r2
Ozone concentration damage to picea sprucepicea
Fast computation of several simple linear regressionsplr plr.matrix plr.numeric
Power Calculations for Exact Test of a simple null hypothesis in a Bernoulli experimentpower_binom_test
Power Calculations for Exact and Asymptotic McNemar Test in a 2 by 2 tablepower_mcnemar_test
Power Calculations for Two-Sample Test for Proportions with unequal sample sizepower_prop_test
Power calculations for one and two sample t tests with unequal sample sizepower_t_test
Pretest-posttest RCT for quantitative observations with possible missing valuesprepost.test
Fast extraction of matrix diagonalqdiag
Quasi Information CriterionQIC QIC.geeglm QIC.geekin QIC.ordgee
Gene expression from real-time quantitative PCRqpcr
Fast quadratic form computationquadform
Perception of points in a swarmrainman
Fast replication of a matrixrepmat
Plots a standardized residualresidual_plot residual_plot.default residual_plot.glm residual_plot.lm
Plots a standardized residualresidualplot residualplot.default residualplot.glm residualplot.lm
Simulate residual multivariate t-distributed data from a polygenic modelrmvt.pedigree
Simulate residual multivariate Gaussian data from a polygenic modelrmvtnorm.pedigree
Simulate values from a perfect normal distributionrnorm_perfect
Hanging rootogram for normal distributionrootogram rootonorm
Round vector of number to percentagesround_percent
Simulate randomized urn designrud
Internal functions for the MESS packagescorefct
Screen variable before penalized regressionscreen_variables
Segregate genes through a pedigreesegregate.genes
Invert a symmetric positive-definite matrixsinv
Effect of smoking on self reported healthsmokehealth
Danish national soccer playerssoccer
Gene expression data from two-color dye-swap experimentsuperroot2
Fast computation of trace of matrix producttracemp
Unbiased standard deviationusd
Plots a Wally plotwallyplot wallyplot.default wallyplot.lm
Write a data frame in XML formatwrite.xml