A bug in the SA function that sometimes resulted in improper items has been fixed.
A bug in the Tabu short form function that caused the Tabu list to be erased if the best criterion value was reached has been fixed.
This version introduces classes to each of the main function outputs (antcolony.lavaan
== “antcolony”, simulatedAnnealing
== “simulatedAnnealing”, tabuShortForm
== “tabu”)
This will allow for plot
and print
methods for each of these functions
antcolony_plot
was replaced with plot.antcolony
(aka, a plot method)With the addition of classes, a plot method and accompanying documentation has been added.
Future updates will expand S3 methods for print()
and summary()
simulatedAnnealing()
.lavaan::cfa()
. However, there are plans for more user control in the modelling process to allow for other model defaults.antcolony_lavaan()
function has been modified so that it no longer will print a summaryfile.txt
. Rather, the function maintains the old summary file as an internal object and returns it after completion,antcolony_plot()
takes the results from antcolony_lavaan()
and creates three graphs: (a) a plot showing how pheremone levels change as the algorithm progresses, (b) a plot showing how the mean value of the regression coefficients changes as the algorithm progresses, and (c) a plot showing how the mean variance explained changes as the algorithm progresses.antcolony.lavaan()
, simulatedAnnealing()
, tabuShortForm()
) are capable of handling bifactor models.bifactor
logical option. No guarantee that an arbitrary model will work beyond those currently tested.antcolony.lavaan()
function.tabu.sem()
and search.prep()
for most of the heavy lifting and various helper and internal functions. The code was taken primarily from Carl Falk and Katerina Marcoulides (see Marcoulides, K. M., & Falk, C. F. (2018). Model Specification Searches in Structural Equation Modeling with R. Structural Equation Modeling: A Multidisciplinary Journal, 1-8.). These have been tested in limited circumstances, so please report any bugs as you find them!