- Fixed a bug in the function
`multilevel.cor()`

, which caused an error message (thanks to Richard Janzen).

- New function
`libraries()`

to load and attach multiple add-on packages at once. - New function
`check.outlier()`

computes statistical measures for leverage, distance, and influence for linear models estimated by using the`lm()`

function

- When using function
`write.result()`

, result tables are in line with the arguments`print`

,`tri`

,`digits`

,`p.digits`

, and`icc.digits`

specified in the object`x`

(thanks to Stefan Kulakow). - Function
`crosstab()`

displays marginal row-wise, column-wise, and total percentages in the output (thanks to Joachim Fritz Punter and Lisa Bucher). Note that the function now also returns the crosstable in the list element`result$crosstab`

of the return object .

- Revised the
`Value`

sections in the documentation of the functions.

- Changed the default setting of the argument
`weighted`

in the`test.t`

and the`na.auxiliary`

function to`FALSE`

in line with the recommendation by Delacre et al. (2021).

- Renamed the function
`collin.diag()`

to`check.collin()`

.

- Fixed a bug in the function
`read.mplus()`

, an error message was printed if comments in the Mplus input file contains special characters (e.g., ä, ü, ö). - Fixed a bug in the function
`std.coef()`

, the function was not applicable to predictors specified as character vector or factor.

- New functions
`script.close()`

,`script.new()`

,`script.open()`

, and`script.save()`

to close, open, and save R scripts in RStudio. - New function
`setsource()`

to set the working directory to the source file location in RStudio equivalent to using the menu item`Session - Set Working Directory - To Source File Location`

. - New function
`restart()`

to restart the RStudio session equivalent to using the menu item`Session - Restart R`

. - New function
`multilevel.r2.manual()`

to compute R-squared measures by Rights and Sterba (2019) for multilevel and linear mixed effects models by manually inputting parameter estimates.

- Functions
`center()`

,`cluster.scores()`

,`rec()`

, and`item.reverse()`

can be applied to more than one variable at once.

- New function
`aov.w()`

for performing repeated measures analysis of variance (within-subject ANOVA) including paired-samples t-tests for multiple comparison, descriptive statistics, effect size measures, and a plot showing error bars for within-subject confidence intervals. - New function
`ci.mean.w()`

for computing difference-adjusted Cousineau-Morey within-subject confidence intervals.

- Function
`ci.mean.diff()`

computes the confidence interval for the difference for an arithmetic mean in a one-sample design. - Functions
`aov.b()`

,`test.t()`

,`test.welch()`

, and`test.z()`

plot difference-adjusted confidence intervals in two-sample design by default. - Added the argument
`jitter.height`

to the functions`aov.b()`

,`test.levene()`

,`test.t()`

,`aov.welch()`

, and`test.z()`

. - Added the argument
`adjust`

to the function`ci.mean()`

, to apply difference-adjustment for the confidence interval.

- Function
`test.t()`

displays the confidence interval for the mean difference in the one-sample t-test.

- Fixed a bug in the function
`test.t()`

, result table provided by the function did not display the confidence interval correctly.

- New function
`aov.b()`

for performing between-subject analysis of variance including Tukey HSD post hoc test for multiple comparison.

- Function
`as.na()`

is also applicable to arrays - Added the argument
`plot`

and arguments for various graphical parameters for plotting results to the functions`test.levene()`

,`test.t()`

,`test.welch()`

, and`test.z()`

. - Added the argument
`write`

for writing results into an Excel file to the functions`cor.matrix()`

,`crosstab()`

,`descript()`

,`freq()`

,`item.alpha()`

,`item.cfa()`

,`item.omega()`

,`multilevel.cor()`

,`multilevel.descript()`

,`na.coverage()`

,`na.descript()`

, and`na.pattern()`

- Added the argument
`posthoc`

for conducting Games-Howell post hoc test for multiple comparison to the functions`test.welch()`

.

- New function
`item.cfa()`

for conducting confirmatory factor analysis using the R package lavaan.

- Function
`write.result()`

can also write results based on the return object of the`item.cfa()`

function. - Argument
`exclude`

of the function`freq()`

can also be set to`FALSE`

.

- Revised the output of the function
`multilevel.cor()`

to make it consistent with the output of the function`item.cfa()`

. - Changed the argument
`na.omit`

in the functions`multilevel.cor()`

to`missing`

to make it consistent with the arguments of the function`item.cfa()`

. - Changed the default setting of the argument
`estimator`

in the functions`multilevel.cor()`

to`ML`

, so that full information maximum likelihood method is used for dealing with missing data.

- Fixed a bug in the function
`multilevel.cor()`

, function did not use Huber-White robust standard errors, but conventional standard errors when specifying`estimator = "MLR"`

.

- New function
`multilevel.r2()`

for computing R-squared measures for multilevel and linear mixed effects models. - New function
`write.xlsx()`

for writing Excel files (.xlsx). - New function
`write.result()`

for writing results of a misty object into an Excel file.

- Added mean and variance components to the output of the function
`multilevel.descript()`

. - Added the argument
`round`

to the function`freq()`

for rounding numeric variables.

- Added a warning message in the
`na.test()`

function when running into numerical problems. - Changed the default setting of the argument
`sig`

in the functions`cor.matrix()`

and`multilevel.cor()`

to`FALSE`

.

- Examples added to the documentation of the
`collin.diag()`

function.

- Fixed a bug in the function
`print.misty.object()`

, function did not print the result object of the the function`crosstab()`

correctly when requesting percentages.

- New function
`multilevel.cor()`

for computing the within-group and between-group correlation matrix using the lavaan package. - New function
`na.test()`

for performing Little’s missing completely at random (MCAR) test. - New function
`indirect()`

for computing confidence intervals for the indirect effect using the asymptotic normal method, the distribution of the product method, and the Monte Carlo method. - New function
`multilevel.indirect()`

for computing confidence intervals for the indirect effect in a 1-1-1 multilevel mediation model using the Monte Carlo method.

- Function
`cor.matrix()`

highlights statistically significant correlation coefficients in boldface. - Function
`cor.matrix()`

shows the results in a table when computing a correlation coefficient for two variables. - Added test statistic (
`stat`

) and degrees of freedom (`df`

) to the argument`print`

in the function`cor.matrix()`

. - Added the argument
`continuity`

for continuity correction to the function`cor.matrix()`

for testing Spearman’s rank-order correlation coefficient and Kendall’s Tau-b correlation. - Substantial speed improvement for the function
`cor.matrix()`

when computing Spearman’s rank-order correlation coefficient or Kendall’s Tau-b correlation.

- Changed the argument
`group`

in the functions`center()`

,`group.scores()`

,`multilevel.descript()`

,`multilevel.icc()`

, and`rwg.lindell()`

to`cluster`

. - Renamed the function
`group.scores()`

to`cluster.scores()`

.

- Fixed a bug in the function
`cor.matrix()`

, function did not print sample sizes when specifying a grouping variable and using listwise deletion.

- Function
`write.mplus()`

writes a Mplus input template with variables names specified in the DATA command along with the tab-delimited data file by default.

- Removed the argument
`print()`

in the`write.mplus()`

function. - Changed the default setting of the argument
`weighted`

in the`test.welch()`

function into`FALSE`

following the recommendation by Delacre et al. (2021).

- Fixed a bug in the function
`cohens.d()`

, function printed warning messages of the`pt()`

function. - Fixed a bug in the function
`cohens.d()`

, function could not deal with more than one variable in a one-sample design.

- New function
`test.t()`

for performing one-sample, two-sample, and paired-sample t-tests including Cohen’s d effect size measure. - New function
`test.welch()`

for performing Welch’s t-test including Cohen’s d effect size measure and Welch’s ANOVA including \(\eta^2\) and \(\omega^2\) effect size measures.

- Added standard error of the mean to the argument
`print`

in the function`descript()`

. - Added the arguments
`format`

,`label`

,`labels`

,`missing`

to the function`read.sav()`

to remove variable formats, variable labels, value labels, value labels for user-defined missings, and widths from attributes of the variable. - Function
`item.reverse()`

can also be applied to to items with non-integer values. - Return object of the function
`cor.matrix()`

when specifying a grouping variable comprises the combined results of both groups in the matrices. - Function
`read.mplus()`

can also deal with consecutive variables (e.g.,`x1-x5`

). - Added
`group`

and`split`

arguments to the function`cohens.d()`

. - Added Cohen’s d effect size measure to the output of the
`test.z`

function. - Function
`cohens.d()`

computes various kinds of Cohen’s d, Hedges’ d, and Glass’s \(\Delta\) including confidence intervals, e.g., weighted and unweighted pooled standard deviation in a two-sample design, with and without controlling for the correlation between the two sets of measurement in a paired-sample design, or with and without the small-sample correction factor.

- Renamed following functions:
`alpha.coef()`

to`item.alpha()`

,`cont.coef()`

to`cor.cont()`

,`cramers.v()`

to`cor.cramer()`

,`levenes.test()`

to`test.levene()`

,`mgsub()`

to`chr.gsub()`

,`omega.coef()`

to`item.omega()`

,`reverse.item()`

to`item.reverse()`

,`phi.coef()`

to`cor.phi()`

,`poly.cor()`

to`cor.poly()`

,`scores()`

to`item.scores()`

,`stromit()`

to`chr.omit()`

,`trim()`

to`chr.trim()`

,`z.test()`

to`test.z()`

, - Changed the argument
`use`

in the`cor.matrix()`

function into`na.omit`

. - Changed the default setting of the argument
`method`

in the functions`multilevel.descript()`

and`multilevel.icc()`

to`"lme4"`

; if the lme4 package is not installed,`"aov"`

will be used. - Changed the output of the functions
`ci.mean.diff()`

and`ci.mean.prop()`

when computing confidence intervals in two-sample designs, i.e., results are divided in two rows according to the grouping variable. - Changed the output of the functions
`ci.mean.diff()`

and`ci.mean.prop()`

when computing confidence intervals in paired-sample designs, i.e., output reports the number of missing data pairs (`nNA`

), instead of number of missing values for each variable separately (`nNA1`

and`nNA2`

). - Changed the output of the functions
`descript()`

when specifying the argument`levenes.test()`

, i.e., duplicated labels in the column`group`

or`variable`

are not shown. - Changed the functions
`cohens.d()`

into a generic function with the methods`cohens.d.default()`

and`cohens.d.formula()`

. - Added arguments
`hypo`

and`descript`

to the functions`test.levene()`

and`test.z()`

. - Added titles to the output of the
`freq`

,`descript`

, and`crosstab`

function. - Changed the argument
`as.na`

in the`as.na()`

function into`na`

.

- Fixed a bug in the function
`center()`

which caused an error message in case of groups with only one observation when trying to apply group mean centering. - Fixed a bug in the function
`center()`

which caused an error message when trying to apply grand mean centering of a Level 1 predictor. - Fixed a bug in the function
`cohens.d()`

, an error message was printed in the between subject design whenever specifying a grouping variable with missing values. - Fixed a bug in the function
`cor.matrix()`

, which caused an error when using listwise deletion for missing data while specifying a grouping variable. - Fixed a bug in the function
`descript()`

, which caused an error message when selection only one or two argument statistical measures using the argument`print`

. - Fixed a bug in the function
`freq()`

, where the argument`split`

was broken. - Fixed a bug in the function
`test.zz()`

, where the alternative hypothesis was displayed wrong when specifying`alternative = "greater"`

or`alternative = "less"`

.

- New function
`collin.diag()`

for collinearity diagnostics including tolerance, (generalized) standard error inflation factor, (generalized) variance inflation factor, eigenvalues, conditional indices, and variance proportions for linear, generalized linear, and mixed-effects models. - New function
`std.coef()`

for computing standardized coefficients (StdX, StdY, and StdYX) for linear models estimated by using the`lm()`

function. - New function
`mgsub()`

for multiple pattern matching and replacements, i.e.,`gsub()`

function for matching and replacing a vector of character strings. - New functions
`df.duplicated()`

and`df.unique()`

extracting duplicated or unique rows of a matrix or data frame.

- Fixed a bug in the function
`read.xlsx()`

, default setting of the argument`progress`

was wrong.

- Merged all print functions to a single print function called
`print.misty.object()`

.

- New function
`z.test()`

for performing one sample, two sample, and paired sample z-test.

- Function
`omega.coef()`

does not access internal slots of a fitted lavaan object anymore (requested by Yves Rosseel).

- Added descriptive statistics and confidence intervals to the
function
`levenes.test()`

. - Changed the output of the functions
`size.mean()`

,`size.prop()`

, and`size.cor()`

to include greek letters. - Changed the argument
`theta`

in the`size.mean()`

function into`delta`

.

- New functions
`ci.mean()`

,`ci.mean.diff()`

,`ci.median()`

,`ci.prop()`

,`ci.prop.diff()`

,`ci.sd()`

,`ci.var()`

for computing confidence interval for the arithmetic mean, the difference in arithmetic means, the median, the proportion, the difference in proportions, the variance, and the standard deviation. - New function
`levenes.test()`

for conducting Levene’s test for homogeneity of variance. - New function
`omega.coef()`

for computing coefficient omega (McDonald, 1978), hierarchical omega (Kelley & Pornprasertmanit, 2016), and categorical omega (Green & Yang, 2009). - New function
`read.xlsx()`

for reading Excel files (.xlsx).

- Added ordinal coefficient alpha to the function
`coef.alpha()`

. - Added Kendall-Stuart’s Tau-c correlation coefficient to the function
`cor.matrix()`

. - Function
`as.na()`

can also replace user-specified values with missing values in lists.

- Changed the argument
`use`

in the`alpha.coef()`

function into a logical argument`na.omit`

. - Changed the argument
`pval.digits`

in the`cor.matrix()`

function into`p.digits`

. - Merged print functions
`print.cont.coef()`

,`print.cramers.v()`

,`print.na.auxiliary()`

,`print.na.coverage()`

,`print.phi.coef()`

, and`print.poly.cor()`

into`print.square.matrix()`

- Fixed a bug in several function, where
`is.vector()`

function was used to test if an object is a vector. Instead`is.atomic()`

function is used to test if an object is a vector. - Fixed a bug in the function
`as.na()`

, function converted strings in data frames to factors.

- New function
`trim()`

for removing whitespace from start and/or end of a string. Note that this function is equivalent to the function`trimws()`

in the`base`

package. However, the`trimws()`

function fails to remove whitespace in some instances.

- Fixed a bug in the function
`cohens.d()`

, function returned`NA`

for Cohen’s d in within-subject design in the presence of missing values - Fixed a bug in the function
`alpha.coef()`

, function did not provide any item statistics irrespective of the argument`print`

- Fixed a bug in the function
`as.na()`

, function always generated a warning message irrespective of the argument`as.na`