Package: misty 0.6.8

Takuya Yanagida

misty: Miscellaneous Functions 'T. Yanagida'

Miscellaneous functions for (1) data management (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., 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'.

Authors:Takuya Yanagida [aut, cre]

misty_0.6.8.tar.gz
misty_0.6.8.tar.gz(r-4.5-noble)misty_0.6.8.tar.gz(r-4.4-noble)
misty_0.6.8.tgz(r-4.4-emscripten)misty_0.6.8.tgz(r-4.3-emscripten)
misty.pdf |misty.html
misty/json (API)
NEWS

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

Peer review:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

4.26 score 1 stars 2 packages 118 scripts 2.9k downloads 116 exports 55 dependencies

Last updated 25 days agofrom:eb8408bc0a. Checks:OK: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 25 2024
R-4.5-linuxOKOct 25 2024

Exports:aov.baov.was.nablimpblimp.bayesblimp.plotblimp.printblimp.runblimp.updatecentercfa.satcorcheck.collincheck.outliercheck.residchr.colorchr.grepchr.greplchr.gsubchr.omitchr.trimci.meanci.mean.diffci.mean.wci.medianci.propci.prop.diffci.sdci.varclearcluster.scorescodingcohens.dcor.matrixcrosstabdescriptdf.duplicateddf.mergedf.movedf.rbinddf.renamedf.sortdf.subsetdf.uniquedominancedominance.manualeffsizefreqgrowth.satcorindirectitem.alphaitem.cfaitem.invaritem.omegaitem.reverseitem.scoreskurtosislaggedlavaan.satcorlibrariesmplusmplus.bayesmplus.lcamplus.plotmplus.printmplus.runmplus.updatemultilevel.cfamultilevel.cormultilevel.descriptmultilevel.fitmultilevel.iccmultilevel.indirectmultilevel.invarmultilevel.omegamultilevel.r2multilevel.r2.manualna.asna.auxiliaryna.coveragena.descriptna.indicatorna.patternna.propna.satcorna.testread.dataread.dtaread.mplusread.savread.xlsxrecrestartresult.lcarobust.coefrwg.lindellscript.closescript.copyscript.newscript.openscript.savesem.satcorsetsourcesize.corsize.meansize.propskewnessstd.coeftest.levenetest.ttest.welchtest.zwrite.dtawrite.mpluswrite.resultwrite.savwrite.xlsx

Dependencies:bitbit64bootclicliprcolorspacecpp11crayondata.tablefansifarverforcatsggplot2gluegtablehavenhmsisobandlabelinglatticelavaanlifecyclelme4magrittrMASSMatrixmgcvminqamnormtmunsellnlmenloptrnumDerivpbivnormpillarpkgconfigprettyunitsprogressquadprogR6RColorBrewerRcppRcppEigenreadrrlangrstudioapiscalestibbletidyselecttzdbutf8vctrsviridisLitevroomwithr

Readme and manuals

Help Manual

Help pageTopics
Between-Subject Analysis of Varianceaov.b
Repeated Measures Analysis of Variance (Within-Subject ANOVA)aov.w
Replace User-Specified Values With Missing Values or Missing Values With User-Specified Valuesas.na na.as
Create, Run, and Print Blimp Modelsblimp
Blimp Summary Measures, Convergence and Efficiency Diagnosticsblimp.bayes
Blimp Trace Plots and Posterior Distribution Plotsblimp.plot
Print Blimp Outputblimp.print
Run Blimp Modelsblimp.run
Blimp Input Updatingblimp.update
Centering Predictor Variables in Single-Level and Multilevel Datacenter
Collinearity Diagnosticscheck.collin
Statistical Measures for Leverage, Distance, and Influencecheck.outlier
Residual Diagnosticscheck.resid
Colored and Styled Terminal Output Textchr.color
Multiple Pattern Matchingchr.grep chr.grepl
Multiple Pattern Matching And Replacementschr.gsub
Omit Stringschr.omit
Trim Whitespace from Stringchr.trim
Confidence Interval for the Arithmetic Mean and Medianci.mean ci.median
Confidence Interval for the Difference in Arithmetic Meansci.mean.diff ci.mean.diff.default ci.mean.diff.formula
Within-Subject Confidence Interval for the Arithmetic Meanci.mean.w
Confidence Interval for Proportionsci.prop
Confidence Interval for the Difference in Proportionsci.prop.diff ci.prop.diff.default ci.prop.diff.formula
Confidence Interval for the Variance and Standard Deviationci.sd ci.var
Clear Console in RStudioclear
Cluster Scorescluster.scores
Coding Categorical Variablescoding
Cohen's dcohens.d cohens.d.default cohens.d.formula
Correlation Matrixcor.matrix
Cross Tabulationcrosstab
Descriptive Statisticsdescript
Extract Duplicated or Unique Rowsdf.duplicated df.unique
Merge Multiple Data Framesdf.merge
Move Variable(s) in a Data Framedf.move
Combine Data Frames by Rows, Filling in Missing Columnsdf.rbind
Rename Columns in a Matrix or Variables in a Data Framedf.rename
Data Frame Sortingdf.sort
Subsetting Data Framesdf.subset
Dominance Analysisdominance
Dominance Analysis, Manually Inputting a Correlation Matrixdominance.manual
Effect Sizes for Categorical Variableseffsize
Frequency Tablefreq
Confidence Intervals for the Indirect Effectindirect
Coefficient Alpha and Item Statisticsitem.alpha
Confirmatory Factor Analysisitem.cfa
Between-Group and Longitudinal Measurement Invariance Evaluationitem.invar
Coefficient Omega, Hierarchical Omega, and Categorical Omegaitem.omega
Reverse Code Scale Itemitem.reverse
Scale Scoresitem.scores
Create Lagged Variableslagged
Load and Attach Multiple Packageslibraries
Create, Run, and Print Mplus Modelsmplus
Mplus Summary Measures, Convergence and Efficiency Diagnosticsmplus.bayes
Mplus Model Specification for Latent Class Analysismplus.lca
Plot Mplus GH5 Filemplus.plot
Print Mplus Outputmplus.print
Run Mplus Modelsmplus.run
Mplus Input Updatingmplus.update
Multilevel Confirmatory Factor Analysismultilevel.cfa
Within-Group and Between-Group Correlation Matrixmultilevel.cor
Multilevel Descriptive Statistics for Two-Level and Three-Level Datamultilevel.descript
Simultaneous and Level-Specific Multilevel Model Fit Informationmultilevel.fit
Intraclass Correlation Coefficient, ICC(1) and ICC(2)multilevel.icc
Confidence Interval for the Indirect Effect in a 1-1-1 Multilevel Mediation Modelmultilevel.indirect
Cross-Level Measurement Invariance Evaluationmultilevel.invar
Multilevel Composite Reliabilitymultilevel.omega
R-Squared Measures for Multilevel and Linear Mixed Effects Modelsmultilevel.r2
R-Squared Measures for Multilevel and Linear Mixed Effects Models by Rights and Sterba (2019), Manually Inputting Parameter Estimatesmultilevel.r2.manual
Auxiliary Variables Analysisna.auxiliary
Variance-Covariance Coveragena.coverage
Descriptive Statistics for Missing Data in Single-Level, Two-Level and Three-Level Datana.descript
Missing Data Indicator Matrixna.indicator
Missing Data Patternna.pattern
Proportion of Missing Data for Each Casena.prop
Fit a Saturated Correlates Modelcfa.satcor growth.satcor lavaan.satcor na.satcor sem.satcor
Missing Completely at Random (MCAR) Testna.test
Print misty.object objectprint.misty.object
Read Data File in Table format, SPSS, Excel, or Stata DTA Fileread.data
Read Stata DTA Fileread.dta
Read Mplus Data File and Variable Namesread.mplus
Read SPSS Fileread.sav
Read Excel Fileread.xlsx
Recode Variablerec
Restart R Sessionrestart
Summary Result Table and Grouped Bar Charts for Latent Class Analysis Estimated in Mplusresult.lca
Unstandardized Coefficients with Heteroscedasticity-Consistent Standard Errorsrobust.coef
Lindell, Brandt and Whitney (1999) r*wg(j) Within-Group Agreement Index for Multi-Item Scalesrwg.lindell
Save Copy of the Current Script in RStudioscript.copy
Open new R Script, R Markdown script, or SQL Script in RStudioscript.new
Open, Close and Save R Script in RStudioscript.close script.open script.save
Set Working Directory to the Source File Locationsetsource
Sample Size Determination for Testing Pearson's Correlation Coefficientsize.cor
Sample Size Determination for Testing Arithmetic Meanssize.mean
Sample Size Determination for Testing Proportionssize.prop
Skewness and Kurtosiskurtosis skewness
Standardized Coefficientsstd.coef
Levene's Test for Homogeneity of Variancetest.levene
t-Testtest.t test.t.default test.t.formula
Welch's Testtest.welch
z-Testtest.z test.z.default test.z.formula
Write Stata DTA Filewrite.dta
Write Mplus Data Filewrite.mplus
Write Results of a misty Object into an Excel filewrite.result
Write SPSS Filewrite.sav
Write Excel Filewrite.xlsx