Miscellaneous Functions 'T. Yanagida'
Overview
Miscellaneous functions for (1) data handling (e.g., grand-mean and group-mean centering, coding variables and reverse coding items, scale and cluster scores, reading and writing Excel and SPSS files), (2) descriptive statistics (e.g., frequency table, cross tabulation, effect size measures), (3) missing data (e.g., descriptive statistics for missing data, missing data pattern, Little's test of Missing Completely at Random, and auxiliary variable analysis), (4) multilevel data (e.g., multilevel descriptive statistics, within-group and between-group correlation matrix, multilevel confirmatory factor analysis, level-specific fit indices, cross-level measurement equivalence evaluation, multilevel composite reliability, and multilevel R-squared measures), (5) item analysis (e.g., confirmatory factor analysis, coefficient alpha and omega, between-group and longitudinal measurement equivalence evaluation), (6) statistical analysis (e.g., bootstrap confidence intervals, collinearity and residual diagnostics, dominance analysis, between- and within-subject analysis of variance, latent class analysis, t-test, z-test, sample size determination), and (7) functions to interact with 'Blimp' and 'Mplus'.
New features
- New function
test.linear()for performing tests for linearity in a linear model,
i.e., RESET test, Harvey-Collier test, and Rainbow test.
- New function
test.homo()for performing tests for homoscedasticity in a linear
model, i.e., Breusch-Pagan test, White's test, Evans-King Generalized Least Squares test,
and Verbyla's test.
- New function
test.norm()for performing tests for univariate normality (i.e.,
Lilliefors test, Shapiro-Wilk test, Anderson–Darling, and Cramer-von Mises test),
and multivariate normality (i.e., Henze-Zirkler test, Henze-Wagner test, and Royston test).
- New function
test.bm()for performing the two-sample and paired (Permuted)
Brunner-Munzel test for stochastic equality.
Minor features and improvements
Show all changes in 0.8.4Hide the rest of the changes in 0.8.4
- Revised the function
check.outlier(), i.e., the function performs outlier and
influential observations diagnostics by plotting statistical measures for
leverage, distance, and influence for liner models.
- The functions
test.t.formulaandtest.welchcan conduct multiple two-sample
t-tests or Welch tests with multiple outcome variables.
- Added the arguments
plot,geom,filename,width,height, anddpi
to the functions cor.matrix() and multilevel.cor() to draw and save a
correlation heat map.
User-visible changes
- Added the argument
horizto the functionprint.misty.object()after removing
the argument in the previous version
- Removed the argument
sort.varfrom the functionprint.misty.object(). - Removed the arguments
corandreffrom the functiontest.t()andtest.welch(). - Added the argument
geomto the functionsaov.b(),aov.w(),test.levene(),
test.t(), test.welch(), and test.z() and removed the arguments bar, point,
box, ci, line, and jitter.
- Added the argument
datato the functionscohens.d.default,ci.mean.diff.default,
ci.prop.diff.default, test.t.default, and test.z.default.
- Added the argument
na.omitto the functionstest.t.formulaandtest.welch. - Changed the default setting of the argument
samplein the functionsskewness
and kurtosis to FALSE.
- Removed the arguments
square,rotate,color,tile.alpha,plot.margin,
legend.box.margin, legend.key.size, legend.text.size, and units from the function na.pattern, and
added the argument geom to the function na.pattern.
- Removed the plot arguments from the function
multilevel.r2, and added the argument
... to the function multilevel.r2.
- Removed the plot arguments from the function
check.resid, and added the argument
... to the function multilevel.r2.
- Added and renamed several plot arguments to the
plot.misty.objectand changed
the default setting for all arguments to NULL.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 127
- Examples that run
- 49%60 run in a plain check · 63 never run
- Exported functions with examples
- 99%
- Documented parameters
- 98%
- Return-value docs
- 90%
- Help pages citing references
- 91%
Downloads
Dependencies
Installing misty adds 50 packages (27 with compiled code, 37 MB of source tarballs). Heaviest: ggplot2 6.0 MB, data.table 5.7 MB, lme4 4.3 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 0.8.4Latest
- 0.8.3
- 0.8.2
- RR 4.6.0 released · 2026-04-24
- 0.8.1
- 0.8.02026-01-18 · diff ↗
- 0.7.6
- 0.7.5
- 0.7.42025-08-18 · diff ↗ ·
removed 3 exports
robust.coef, rwg.lindell, std.coefadded 8 exports
cluster.rwg, coeff.robust, coeff.std, df.long, df.wide, summa, write.data, write.data1 - 0.7.32025-07-07 · diff ↗
- 0.7.2
- RR 4.5.0 released · 2025-04-11
- 0.7.12025-03-10 · diff ↗
- 0.7.0
- 0.6.82024-10-24 · diff ↗ ·
added 6 exports
cfa.satcor, growth.satcor, lavaan.satcor, na.satcor, read.data, sem.satcor - 0.6.72024-09-18 · diff ↗
Show 37 earlier eventsHide 37 earlier events
- 0.6.62024-08-25 · diff ↗ ·
added 10 exports
blimp.bayes, blimp.plot, blimp.print, blimp, blimp.run, blimp.update, chr.color, clear, mplus.bayes, mplus.plot - 0.6.52024-06-29 · diff ↗
- 0.6.42024-06-26 · diff ↗ ·
removed 1 export
run.mplusadded 6 exports
chr.grep, chr.grepl, mplus, mplus.print, mplus.run, mplus.update - 0.6.32024-05-15 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.6.22024-02-05 · diff ↗
- 0.6.12024-01-19 · diff ↗
- 0.6.02024-01-13 · diff ↗ ·
removed 7 exports
cor.cont, cor.cramer, cor.phi, cor.poly, dummy.c, eta.sq, shiftadded 8 exports
coding, df.move, df.subset, effsize, lagged, read.dta, script.copy, write.dta - 0.5.4
- 0.5.32023-09-18 · diff ↗
- 0.5.22023-08-24 · diff ↗
- 0.5.1
- 0.5.02023-08-07 · diff ↗ ·
added 7 exports
check.resid, dominance.manual, dominance, item.invar, mplus.lpa, result.lpa, robust.coef - 0.4.122023-07-08 · diff ↗
- 0.4.112023-06-10 · diff ↗ ·
added 4 exports
multilevel.cfa, multilevel.fit, multilevel.invar, multilevel.omega - 0.4.102023-05-18 · diff ↗
- 0.4.92023-05-02 · diff ↗ ·
removed 1 export
collin.diagadded 3 exports
check.collin, check.outlier, libraries - RR 4.3.0 released · 2023-04-21
- 0.4.82023-03-10 · diff ↗ ·
added 7 exports
multilevel.r2.manual, restart, script.close, script.new, script.open, script.save, setsource - 0.4.7
- 0.4.6
- 0.4.5
- RR 4.2.0 released · 2022-04-22
- 0.4.4
- 0.4.32021-09-30 · diff ↗
- 0.4.22021-08-19 · diff ↗ ·
removed 1 export
group.scoresadded 5 exports
cluster.scores, indirect, multilevel.cor, multilevel.indirect, na.test - 0.4.12021-06-07 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.4.02021-05-13 · diff ↗ ·
removed 13 exports
alpha.coef, cont.coef, cramers.v, levenes.test, mgsub, omega.coef, poly.cor, phi.coef, reverse.item, scores, stromit, trim, z.testadded 15 exports
chr.gsub, chr.omit, chr.trim, cor.cont, cor.cramer, cor.phi, cor.poly, item.alpha, item.omega, item.reverse, item.scores, test.levene, test.t, test.welch, test.z - 0.3.2
- 0.3.1
- RR 4.0.0 released · 2020-04-24
- 0.3.02020-04-06 · diff ↗ ·
added 10 exports
ci.mean.diff, ci.mean, ci.median, ci.prop.diff, ci.prop, ci.sd, ci.var, levenes.test, omega.coef, read.xlsx - 0.2.2
- 0.2.1
- 0.2.02020-02-09
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2020-02-09
- Total releases
- 45 / 6 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.3.0
- Bundled data
- 8.8 KB / 1 file
- Download size
- 1.1 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("misty")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.