# Miscellaneous Functions 'T. Yanagida'

## Documentation for package ‘misty’ version 0.8.0

- DESCRIPTION file.
- Package NEWS.

## Help Pages

A B C D E F G I K L M N P R S T U W

## -- A --

aov.b | Between-Subject Analysis of Variance
aov.w | Repeated Measures Analysis of Variance (Within-Subject ANOVA)
as.na | Replace Missing Values With User-Specified Values or User-Specified Values With Missing Values

## -- B --

blimp | Create, Run, and Print Blimp Models
blimp.bayes | Blimp Summary Measures, Convergence and Efficiency Diagnostics
blimp.plot | Blimp Trace Plots and Posterior Distribution Plots
blimp.print | Print Blimp Output
blimp.run | Run Blimp Models
blimp.update | Blimp Input Updating

## -- C --

center | Centering Predictor Variables in Single-Level and Multilevel Data
cfa.satcor | Fit a Saturated Correlates Model
check.collin | Collinearity Diagnostics
check.outlier | Statistical Measures for Leverage, Distance, and Influence
check.resid | Residual Diagnostics for Linear, Multilevel and Mixed-Effects Models
chr.color | Colored and Styled Terminal Output Text
chr.grep | Multiple Pattern Matching
chr.grepl | Multiple Pattern Matching
chr.gsub | Multiple Pattern Matching And Replacements
chr.omit | Omit Strings
chr.trim | Trim Whitespace from String
chr.trunc | Truncate a Character Vector to a Maximum Width
ci.cor | (Bootstrap) Confidence Intervals for Correlation Coefficients
ci.mean | (Bootstrap) Confidence Intervals for Arithmetic Means and Medians
ci.mean.diff | Confidence Interval for the Difference in Arithmetic Means
ci.mean.diff.default | Confidence Interval for the Difference in Arithmetic Means
ci.mean.diff.formula | Confidence Interval for the Difference in Arithmetic Means
ci.mean.w | Within-Subject Confidence Interval for the Arithmetic Mean
ci.median | (Bootstrap) Confidence Intervals for Arithmetic Means and Medians
ci.prop | (Bootstrap) Confidence Intervals for Proportions
ci.prop.diff | Confidence Interval for the Difference in Proportions
ci.prop.diff.default | Confidence Interval for the Difference in Proportions
ci.prop.diff.formula | Confidence Interval for the Difference in Proportions
ci.sd | (Bootstrap) Confidence Intervals for Variances and Standard Deviations
ci.var | (Bootstrap) Confidence Intervals for Variances and Standard Deviations
clear | Clear Console in RStudio
cluster.rwg | Lindell, Brandt and Whitney (1999) r*wg(j) Within-Group Agreement Index for Multi-Item Scales
cluster.scores | Cluster Scores
coding | Coding Categorical Variables
coeff.robust | Heteroscedasticity-Consistent and Cluster-Robust Standard Errors
coeff.std | Standardized Coefficients for Linear, Multilevel and Mixed-Effects Models
cohens.d | Cohen's d
cohens.d.default | Cohen's d
cohens.d.formula | Cohen's d
cor.matrix | Correlation Matrix
crosstab | Cross Tabulation

## -- D --

descript | Descriptive Statistics
df.check | Data Check
df.duplicated | Extract Duplicated or Unique Rows
df.head | Print the First and Last Rows of a Data Frame
df.long | Converting Data Frames Between 'Wide' and 'Long' Format
df.merge | Merge Multiple Data Frames
df.move | Move Variable(s) in a Data Frame
df.rbind | Combine Data Frames by Rows, Filling in Missing Columns
df.rename | Rename Columns in a Matrix or Variables in a Data Frame
df.sort | Data Frame Sorting
df.subset | Subsetting Data Frames
df.tail | Print the First and Last Rows of a Data Frame
df.unique | Extract Duplicated or Unique Rows
df.wide | Converting Data Frames Between 'Wide' and 'Long' Format
dominance | Dominance Analysis
dominance.manual | Dominance Analysis, Manually Inputting a Correlation Matrix

## -- E --

effsize | Effect Sizes for Categorical Variables

## -- F --

freq | Frequency Table

## -- G --

growth.satcor | Fit a Saturated Correlates Model

## -- I --

indirect | Confidence Intervals for the Indirect Effect
item.alpha | Coefficient Alpha, Hierarchical Alpha, and Ordinal Alpha
item.cfa | Confirmatory Factor Analysis
item.invar | Between-Group and Longitudinal Measurement Invariance Evaluation
item.omega | Coefficient Omega, Hierarchical Omega, and Categorical Omega
item.reverse | Reverse Code Scale Item
item.scores | Scale Scores

## -- K --

kurtosis | Univariate and Multivariate Skewness and Kurtosis

## -- L --

lagged | Create Lagged Variables
lavaan.satcor | Fit a Saturated Correlates Model
libraries | Load and Attach Multiple Packages

## -- M --

mplus | Create, Run, and Print Mplus Models
mplus.bayes | Mplus Summary Measures, Convergence and Efficiency Diagnostics
mplus.lca | Mplus Model Specification and Estimation for Latent Class Analysis
mplus.lca.summa | Summary Result Tables and Grouped Bar Charts for Latent Class Analysis in Mplus
mplus.plot | Plot Mplus GH5 File
mplus.print | Print Mplus Output
mplus.run | Run Mplus Models
mplus.update | Mplus Input Updating
multilevel.cfa | Multilevel Confirmatory Factor Analysis
multilevel.cor | Within-Group and Between-Group Correlation Matrix
multilevel.descript | Multilevel Descriptive Statistics for Two-Level and Three-Level Data
multilevel.fit | Simultaneous and Level-Specific Multilevel Model Fit Information
multilevel.icc | Intraclass Correlation Coefficient, ICC(1) and ICC(2)
multilevel.indirect | Confidence Interval for the Indirect Effect in a 1-1-1 Multilevel Mediation Model
multilevel.invar | Cross-Level Measurement Invariance Evaluation
multilevel.omega | Multilevel Composite Reliability
multilevel.r2 | R-Squared Measures for Multilevel and Linear Mixed Effects Models
multilevel.r2.manual | R-Squared Measures for Multilevel and Linear Mixed Effects Models by Rights and Sterba (2019), Manually Inputting Parameter Estimates

## -- N --

na.as | Replace Missing Values With User-Specified Values or User-Specified Values With Missing Values
na.auxiliary | Auxiliary Variables Analysis
na.coverage | Variance-Covariance Coverage
na.descript | Descriptive Statistics for Missing Data in Single-Level, Two-Level and Three-Level Data
na.indicator | Missing Data Indicator Matrix
na.pattern | Missing Data Pattern
na.prop | Proportion of Missing Data for Each Case
na.satcor | Fit a Saturated Correlates Model
na.test | Missing Completely at Random (MCAR) Test

## -- P --

plot.misty.object | Plots misty.object object
print.misty.object | Print misty.object object

## -- R --

read.data | Read Data File in Table Format, SPSS, Excel, or Stata DTA File
read.dta | Read Stata DTA File
read.mplus | Read Mplus Data File and Variable Names
read.sav | Read SPSS File
read.xlsx | Read Excel File
rec | Recode Variable
restart | Restart R Session
robust.lmer | Robust Estimation of Multilevel and Linear Mixed-Effects Models

## -- S --

script.close | Open, Close and Save R Script in RStudio
script.copy | Save Copy of the Current Script in RStudio
script.new | Open new R Script, R Markdown script, or SQL Script in RStudio
script.open | Open, Close and Save R Script in RStudio
script.save | Open, Close and Save R Script in RStudio
sem.satcor | Fit a Saturated Correlates Model
setsource | Set Working Directory to the Source File Location
size.cor | Sample Size Determination
size.mean | Sample Size Determination
size.prop | Sample Size Determination
skewness | Univariate and Multivariate Skewness and Kurtosis
summa | Print Summary Output

## -- T --

test.levene | Levene's Test for Homogeneity of Variance
test.t | t-Test
test.t.default | t-Test
test.t.formula | t-Test
test.welch | Welch's Test
test.z | z-Test
test.z.default | z-Test
test.z.formula | z-Test

## -- U --

uniq | Extract Unique Elements and Count Number of Unique Elements
uniq.n | Extract Unique Elements and Count Number of Unique Elements

## -- W --

write.data | Write Data File in Table Format, SPSS, Excel, or Stata DTA File
write.data1 | Write Data File in Table Format, SPSS, Excel, or Stata DTA File
write.dta | Write Stata DTA File
write.mplus | Write Mplus Data File
write.result | Write Results of a misty Object into an Excel file
write.sav | Write SPSS File
write.xlsx | Write Excel File