# install.packages("MASS")
# install.packages("nnet")
# install.packages("tidyverse")
# install.packages("patchwork") # for side-by-side ggplots
library(MASS)
library(nnet)
library(tidyverse)
library(patchwork)
sessionInfo()
R version 4.4.0 (2024-04-24)
Platform: aarch64-apple-darwin20
Running under: macOS Sonoma 14.5
Matrix products: default
BLAS: /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libRblas.0.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libRlapack.dylib; LAPACK version 3.12.0
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
time zone: Asia/Seoul
tzcode source: internal
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] patchwork_1.2.0 lubridate_1.9.3 forcats_1.0.0 stringr_1.5.1
[5] dplyr_1.1.4 purrr_1.0.2 readr_2.1.5 tidyr_1.3.1
[9] tibble_3.2.1 ggplot2_3.5.1 tidyverse_2.0.0 nnet_7.3-19
[13] MASS_7.3-60.2
loaded via a namespace (and not attached):
[1] gtable_0.3.5 jsonlite_1.8.8 compiler_4.4.0 tidyselect_1.2.1
[5] scales_1.3.0 yaml_2.3.8 fastmap_1.1.1 R6_2.5.1
[9] generics_0.1.3 knitr_1.46 munsell_0.5.1 pillar_1.9.0
[13] tzdb_0.4.0 rlang_1.1.3 utf8_1.2.4 stringi_1.8.3
[17] xfun_0.43 timechange_0.3.0 cli_3.6.2 withr_3.0.0
[21] magrittr_2.0.3 digest_0.6.35 grid_4.4.0 rstudioapi_0.16.0
[25] hms_1.1.3 lifecycle_1.0.4 vctrs_0.6.5 evaluate_0.23
[29] glue_1.7.0 fansi_1.0.6 colorspace_2.1-0 rmarkdown_2.26
[33] tools_4.4.0 pkgconfig_2.0.3 htmltools_0.5.8.1