R for
Authoring!!

OOH Session #37…
Lightbox images

Open Office Hours
(August 06, 2024)

  • Recap session #36       ↔︎️
  • Focal issue:
    • Lightbox
      images 💡💡📷💡💡
  • Shared problem-solving

Recap of Session #36:

Exploratory Graph Analyses

library(EGAnet)
library(psych) ## for bfi data

bfi_uva <- UVA(
  data = bfi[,1:25]
)

bfi_ega <- EGA(data = bfi)
1
Per recommendation of package authors
2
Actual EGA - note entire dataframe accomodated (we didn’t kick out redundancies or demographics)

Note

Golino and Epskamp (2017) source article can be downloaded here

Today:

Session Info (August 06, 2024) Rendering:

R version 4.2.2 (2022-10-31 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19045)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.utf8 
[2] LC_CTYPE=English_United States.utf8   
[3] LC_MONETARY=English_United States.utf8
[4] LC_NUMERIC=C                          
[5] LC_TIME=English_United States.utf8    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] psych_2.4.1       EGAnet_2.0.6      fontawesome_0.5.2

loaded via a namespace (and not attached):
 [1] tidyr_1.3.1          jsonlite_1.8.8       network_1.18.2      
 [4] gtools_3.9.4         Formula_1.2-5        assertthat_0.2.1    
 [7] stats4_4.2.2         emo_0.0.0.9000       yaml_2.3.8          
[10] pbivnorm_0.6.0       pillar_1.9.0         backports_1.4.1     
[13] lattice_0.20-45      glue_1.6.2           quadprog_1.5-8      
[16] digest_0.6.31        RColorBrewer_1.1-3   checkmate_2.1.0     
[19] colorspace_2.1-0     htmltools_0.5.7      Matrix_1.5-4        
[22] plyr_1.8.9           pkgconfig_2.0.3      purrr_1.0.1         
[25] corpcor_1.6.10       scales_1.3.0         glasso_1.11         
[28] sna_2.7-2            jpeg_0.1-10          ggstats_0.6.0       
[31] fdrtool_1.2.17       timechange_0.3.0     htmlTable_2.4.1     
[34] tibble_3.2.1         farver_2.1.1         generics_0.1.3      
[37] ggplot2_3.5.1        withr_3.0.0          pbapply_1.7-0       
[40] nnet_7.3-18          cli_3.6.0            mnormt_2.1.1        
[43] magrittr_2.0.3       crayon_1.5.2         statnet.common_4.9.0
[46] evaluate_0.23        GGally_2.2.1         fansi_1.0.6         
[49] nlme_3.1-160         foreign_0.8-83       tools_4.2.2         
[52] data.table_1.15.2    lifecycle_1.0.4      stringr_1.5.1       
[55] munsell_0.5.1        cluster_2.1.4        compiler_4.2.2      
[58] rlang_1.1.3          grid_4.2.2           rstudioapi_0.15.0   
[61] htmlwidgets_1.6.4    igraph_1.4.2         lavaan_0.6-15       
[64] base64enc_0.1-3      rmarkdown_2.26       gtable_0.3.5        
[67] abind_1.4-5          reshape2_1.4.4       qgraph_1.9.4        
[70] R6_2.5.1             gridExtra_2.3        lubridate_1.9.3     
[73] knitr_1.45           dplyr_1.1.4          fastmap_1.1.1       
[76] utf8_1.2.4           Hmisc_5.0-1          stringi_1.7.12      
[79] parallel_4.2.2       Rcpp_1.0.10          vctrs_0.6.5         
[82] rpart_4.1.19         png_0.1-8            tidyselect_1.2.1    
[85] xfun_0.42            coda_0.19-4         

Golino, Hudson F, and Sacha Epskamp. 2017. “Exploratory Graph Analysis: A New Approach for Estimating the Number of Dimensions in Psychological Research.” PloS One 12 (6): e0174035.