Function to display averaged modification indices for a spatial SEM
Function to display averaged modification indices for a spatial SEM
Modification indices averaged across all lag distance bins (the non-spatial bin is not included) are calculated for each potential path addition to the structural model. Option modcut suppresses the printing of modification indices of less than that value.
avg.modindices(spatial_model_results, modcut =4)
Arguments
spatial_model_results: a list object produced by function runModels
modcut: The minimum averaged modification index to print. Default is 4.
References
Lamb, E. G., K. Mengersen, K. J. Stewart, U. Attanayake, and S. D. Siciliano. 2014. Spatially explicit structural equation modeling. Ecology 95 :2434-2442.
Rosseel, Y. 2012 lavaan: an R package for structural equation modeling. Journal of Statistical Software 48 :1-36.