Ejercicio 1

Paquetes instalados

installed.packages()
##               Package         LibPath                                         
## base64enc     "base64enc"     "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## bslib         "bslib"         "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## cachem        "cachem"        "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## cli           "cli"           "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## cpp11         "cpp11"         "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## digest        "digest"        "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## evaluate      "evaluate"      "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## expm          "expm"          "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## fastmap       "fastmap"       "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## fontawesome   "fontawesome"   "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## fs            "fs"            "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## glue          "glue"          "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## highr         "highr"         "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## htmltools     "htmltools"     "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## igraph        "igraph"        "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## jquerylib     "jquerylib"     "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## jsonlite      "jsonlite"      "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## knitr         "knitr"         "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## lifecycle     "lifecycle"     "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## magrittr      "magrittr"      "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## markovchain   "markovchain"   "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## MASS          "MASS"          "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## memoise       "memoise"       "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## mime          "mime"          "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## pkgconfig     "pkgconfig"     "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## R6            "R6"            "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## rappdirs      "rappdirs"      "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## Rcpp          "Rcpp"          "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## RcppArmadillo "RcppArmadillo" "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## RcppParallel  "RcppParallel"  "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## rJava         "rJava"         "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## rlang         "rlang"         "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## rmarkdown     "rmarkdown"     "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## sass          "sass"          "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## stringi       "stringi"       "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## stringr       "stringr"       "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## tinytex       "tinytex"       "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## vctrs         "vctrs"         "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## xfun          "xfun"          "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## xlsx          "xlsx"          "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## xlsxjars      "xlsxjars"      "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## yaml          "yaml"          "C:/Users/lamel/AppData/Local/R/win-library/4.6"
## base          "base"          "C:/Program Files/R/R-4.6.0/library"            
## boot          "boot"          "C:/Program Files/R/R-4.6.0/library"            
## class         "class"         "C:/Program Files/R/R-4.6.0/library"            
## cluster       "cluster"       "C:/Program Files/R/R-4.6.0/library"            
## codetools     "codetools"     "C:/Program Files/R/R-4.6.0/library"            
## compiler      "compiler"      "C:/Program Files/R/R-4.6.0/library"            
## datasets      "datasets"      "C:/Program Files/R/R-4.6.0/library"            
## foreign       "foreign"       "C:/Program Files/R/R-4.6.0/library"            
## graphics      "graphics"      "C:/Program Files/R/R-4.6.0/library"            
## grDevices     "grDevices"     "C:/Program Files/R/R-4.6.0/library"            
## grid          "grid"          "C:/Program Files/R/R-4.6.0/library"            
## KernSmooth    "KernSmooth"    "C:/Program Files/R/R-4.6.0/library"            
## lattice       "lattice"       "C:/Program Files/R/R-4.6.0/library"            
## MASS          "MASS"          "C:/Program Files/R/R-4.6.0/library"            
## Matrix        "Matrix"        "C:/Program Files/R/R-4.6.0/library"            
## methods       "methods"       "C:/Program Files/R/R-4.6.0/library"            
## mgcv          "mgcv"          "C:/Program Files/R/R-4.6.0/library"            
## nlme          "nlme"          "C:/Program Files/R/R-4.6.0/library"            
## nnet          "nnet"          "C:/Program Files/R/R-4.6.0/library"            
## parallel      "parallel"      "C:/Program Files/R/R-4.6.0/library"            
## rpart         "rpart"         "C:/Program Files/R/R-4.6.0/library"            
## spatial       "spatial"       "C:/Program Files/R/R-4.6.0/library"            
## splines       "splines"       "C:/Program Files/R/R-4.6.0/library"            
## stats         "stats"         "C:/Program Files/R/R-4.6.0/library"            
## stats4        "stats4"        "C:/Program Files/R/R-4.6.0/library"            
## survival      "survival"      "C:/Program Files/R/R-4.6.0/library"            
## tcltk         "tcltk"         "C:/Program Files/R/R-4.6.0/library"            
## tools         "tools"         "C:/Program Files/R/R-4.6.0/library"            
## translations  "translations"  "C:/Program Files/R/R-4.6.0/library"            
## utils         "utils"         "C:/Program Files/R/R-4.6.0/library"            
##               Version     Priority     
## base64enc     "0.1-6"     NA           
## bslib         "0.12.0"    NA           
## cachem        "1.1.0"     NA           
## cli           "3.6.6"     NA           
## cpp11         "0.5.5"     NA           
## digest        "0.6.39"    NA           
## evaluate      "1.0.5"     NA           
## expm          "1.0-0"     NA           
## fastmap       "1.2.0"     NA           
## fontawesome   "0.5.3"     NA           
## fs            "2.1.0"     NA           
## glue          "1.8.1"     NA           
## highr         "0.12"      NA           
## htmltools     "0.5.9"     NA           
## igraph        "2.3.2"     NA           
## jquerylib     "0.1.4"     NA           
## jsonlite      "2.0.0"     NA           
## knitr         "1.52"      NA           
## lifecycle     "1.0.5"     NA           
## magrittr      "2.0.5"     NA           
## markovchain   "0.10.3"    NA           
## MASS          "7.3-66"    "recommended"
## memoise       "2.0.1"     NA           
## mime          "0.13"      NA           
## pkgconfig     "2.0.3"     NA           
## R6            "2.6.1"     NA           
## rappdirs      "0.3.4"     NA           
## Rcpp          "1.1.1-1.1" NA           
## RcppArmadillo "15.2.7-1"  NA           
## RcppParallel  "5.1.11-2"  NA           
## rJava         "1.0-18"    NA           
## rlang         "1.2.0"     NA           
## rmarkdown     "2.32"      NA           
## sass          "0.4.10"    NA           
## stringi       "1.8.9"     NA           
## stringr       "1.6.0"     NA           
## tinytex       "0.61"      NA           
## vctrs         "0.7.3"     NA           
## xfun          "0.61"      NA           
## xlsx          "0.6.5"     NA           
## xlsxjars      "0.9.0"     NA           
## yaml          "2.3.12"    NA           
## base          "4.6.0"     "base"       
## boot          "1.3-32"    "recommended"
## class         "7.3-23"    "recommended"
## cluster       "2.1.8.2"   "recommended"
## codetools     "0.2-20"    "recommended"
## compiler      "4.6.0"     "base"       
## datasets      "4.6.0"     "base"       
## foreign       "0.8-91"    "recommended"
## graphics      "4.6.0"     "base"       
## grDevices     "4.6.0"     "base"       
## grid          "4.6.0"     "base"       
## KernSmooth    "2.23-26"   "recommended"
## lattice       "0.22-9"    "recommended"
## MASS          "7.3-65"    "recommended"
## Matrix        "1.7-5"     "recommended"
## methods       "4.6.0"     "base"       
## mgcv          "1.9-4"     "recommended"
## nlme          "3.1-169"   "recommended"
## nnet          "7.3-20"    "recommended"
## parallel      "4.6.0"     "base"       
## rpart         "4.1.27"    "recommended"
## spatial       "7.3-18"    "recommended"
## splines       "4.6.0"     "base"       
## stats         "4.6.0"     "base"       
## stats4        "4.6.0"     "base"       
## survival      "3.8-6"     "recommended"
## tcltk         "4.6.0"     "base"       
## tools         "4.6.0"     "base"       
## translations  "4.6.0"     NA           
## utils         "4.6.0"     "base"       
##               Depends                                          
## base64enc     "R (>= 2.9.0)"                                   
## bslib         "R (>= 2.10)"                                    
## cachem        NA                                               
## cli           "R (>= 3.4)"                                     
## cpp11         "R (>= 4.0.0)"                                   
## digest        "R (>= 3.3.0)"                                   
## evaluate      "R (>= 3.6.0)"                                   
## expm          "Matrix"                                         
## fastmap       NA                                               
## fontawesome   "R (>= 3.3.0)"                                   
## fs            "R (>= 4.1)"                                     
## glue          "R (>= 4.1)"                                     
## highr         "R (>= 3.3.0)"                                   
## htmltools     "R (>= 2.14.1)"                                  
## igraph        "methods, R (>= 3.5.0)"                          
## jquerylib     NA                                               
## jsonlite      "methods"                                        
## knitr         "R (>= 3.6.0)"                                   
## lifecycle     "R (>= 3.6)"                                     
## magrittr      "R (>= 3.4.0)"                                   
## markovchain   "R (>= 4.2.0), Matrix (>= 1.5-0), methods"       
## MASS          "R (>= 4.4.0), grDevices, graphics, stats, utils"
## memoise       NA                                               
## mime          NA                                               
## pkgconfig     NA                                               
## R6            "R (>= 3.6)"                                     
## rappdirs      "R (>= 4.1)"                                     
## Rcpp          "R (>= 3.5.0)"                                   
## RcppArmadillo "R (>= 3.3.0)"                                   
## RcppParallel  "R (>= 3.0.2)"                                   
## rJava         "R (>= 3.6.0), methods"                          
## rlang         "R (>= 4.0.0)"                                   
## rmarkdown     "R (>= 3.0)"                                     
## sass          NA                                               
## stringi       "R (>= 3.4)"                                     
## stringr       "R (>= 4.1.0)"                                   
## tinytex       NA                                               
## vctrs         "R (>= 4.0.0)"                                   
## xfun          "R (>= 3.2.0)"                                   
## xlsx          NA                                               
## xlsxjars      "rJava"                                          
## yaml          NA                                               
## base          NA                                               
## boot          "R (>= 3.0.0), graphics, stats"                  
## class         "R (>= 3.0.0), stats, utils"                     
## cluster       "R (>= 3.5.0)"                                   
## codetools     "R (>= 2.1)"                                     
## compiler      NA                                               
## datasets      NA                                               
## foreign       "R (>= 4.0.0)"                                   
## graphics      NA                                               
## grDevices     NA                                               
## grid          NA                                               
## KernSmooth    "R (>= 2.5.0), stats"                            
## lattice       "R (>= 4.0.0)"                                   
## MASS          "R (>= 4.4.0), grDevices, graphics, stats, utils"
## Matrix        "R (>= 4.4), methods"                            
## methods       NA                                               
## mgcv          "R (>= 4.4.0), nlme (>= 3.1-64)"                 
## nlme          "R (>= 3.6.0)"                                   
## nnet          "R (>= 3.0.0), stats, utils"                     
## parallel      NA                                               
## rpart         "R (>= 2.15.0), graphics, stats, grDevices"      
## spatial       "R (>= 3.0.0), graphics, stats, utils"           
## splines       NA                                               
## stats         NA                                               
## stats4        NA                                               
## survival      "R (>= 3.5.0)"                                   
## tcltk         NA                                               
## tools         NA                                               
## translations  NA                                               
## utils         NA                                               
##               Imports                                                                                                                                                                                                    
## base64enc     NA                                                                                                                                                                                                         
## bslib         "base64enc, cachem, fastmap (>= 1.1.1), grDevices, htmltools\n(>= 0.5.8), jquerylib (>= 0.1.3), jsonlite, lifecycle, memoise\n(>= 2.0.1), mime, rlang, sass (>= 0.4.9)"                                    
## cachem        "rlang, fastmap (>= 1.2.0)"                                                                                                                                                                                
## cli           "utils"                                                                                                                                                                                                    
## cpp11         NA                                                                                                                                                                                                         
## digest        "utils"                                                                                                                                                                                                    
## evaluate      NA                                                                                                                                                                                                         
## expm          "methods"                                                                                                                                                                                                  
## fastmap       NA                                                                                                                                                                                                         
## fontawesome   "rlang (>= 1.0.6), htmltools (>= 0.5.1.1)"                                                                                                                                                                 
## fs            "methods"                                                                                                                                                                                                  
## glue          "methods"                                                                                                                                                                                                  
## highr         "xfun (>= 0.18)"                                                                                                                                                                                           
## htmltools     "base64enc, digest, fastmap (>= 1.1.0), grDevices, rlang (>=\n1.0.0), utils"                                                                                                                               
## igraph        "cli, graphics, grDevices, lifecycle, magrittr, Matrix,\npkgconfig (>= 2.0.0), rlang (>= 1.1.0), stats, utils, vctrs"                                                                                      
## jquerylib     "htmltools"                                                                                                                                                                                                
## jsonlite      NA                                                                                                                                                                                                         
## knitr         "evaluate (>= 0.15), highr (>= 0.11), methods, tools, xfun (>=\n0.52), yaml (>= 2.1.19)"                                                                                                                   
## lifecycle     "cli (>= 3.4.0), rlang (>= 1.1.0)"                                                                                                                                                                         
## magrittr      NA                                                                                                                                                                                                         
## markovchain   "igraph, expm, stats4, parallel, Rcpp (>= 1.0.2), RcppParallel,\nutils, stats, grDevices"                                                                                                                  
## MASS          "methods"                                                                                                                                                                                                  
## memoise       "rlang (>= 0.4.10), cachem"                                                                                                                                                                                
## mime          "tools"                                                                                                                                                                                                    
## pkgconfig     "utils"                                                                                                                                                                                                    
## R6            NA                                                                                                                                                                                                         
## rappdirs      NA                                                                                                                                                                                                         
## Rcpp          "methods, utils"                                                                                                                                                                                           
## RcppArmadillo "Rcpp (>= 1.1.1), stats, utils, methods"                                                                                                                                                                   
## RcppParallel  NA                                                                                                                                                                                                         
## rJava         NA                                                                                                                                                                                                         
## rlang         "utils"                                                                                                                                                                                                    
## rmarkdown     "bslib (>= 0.2.5.1), evaluate (>= 0.13), fontawesome (>=\n0.5.0), htmltools (>= 0.5.1), jquerylib, jsonlite, knitr (>=\n1.50), methods, tinytex (>= 0.31), tools, utils, xfun (>=\n0.36), yaml (>= 2.1.19)"
## sass          "fs (>= 1.2.4), rlang (>= 0.4.10), htmltools (>= 0.5.1), R6,\nrappdirs"                                                                                                                                    
## stringi       "tools, utils, stats"                                                                                                                                                                                      
## stringr       "cli, glue (>= 1.6.1), lifecycle (>= 1.0.3), magrittr, rlang\n(>= 1.0.0), stringi (>= 1.5.3), vctrs (>= 0.4.0)"                                                                                            
## tinytex       "xfun (>= 0.48)"                                                                                                                                                                                           
## vctrs         "cli (>= 3.4.0), glue, lifecycle (>= 1.0.3), rlang (>= 1.1.7)"                                                                                                                                             
## xfun          "grDevices, stats, tools"                                                                                                                                                                                  
## xlsx          "rJava, xlsxjars, grDevices, utils"                                                                                                                                                                        
## xlsxjars      NA                                                                                                                                                                                                         
## yaml          NA                                                                                                                                                                                                         
## base          NA                                                                                                                                                                                                         
## boot          NA                                                                                                                                                                                                         
## class         "MASS"                                                                                                                                                                                                     
## cluster       "graphics, grDevices, stats, utils"                                                                                                                                                                        
## codetools     NA                                                                                                                                                                                                         
## compiler      NA                                                                                                                                                                                                         
## datasets      NA                                                                                                                                                                                                         
## foreign       "methods, utils, stats"                                                                                                                                                                                    
## graphics      "grDevices"                                                                                                                                                                                                
## grDevices     NA                                                                                                                                                                                                         
## grid          "grDevices, utils"                                                                                                                                                                                         
## KernSmooth    NA                                                                                                                                                                                                         
## lattice       "grid, grDevices, graphics, stats, utils"                                                                                                                                                                  
## MASS          "methods"                                                                                                                                                                                                  
## Matrix        "grDevices, graphics, grid, lattice, stats, utils"                                                                                                                                                         
## methods       "utils, stats"                                                                                                                                                                                             
## mgcv          "methods, stats, graphics, Matrix, splines, utils"                                                                                                                                                         
## nlme          "graphics, stats, utils, lattice"                                                                                                                                                                          
## nnet          NA                                                                                                                                                                                                         
## parallel      "tools, compiler"                                                                                                                                                                                          
## rpart         NA                                                                                                                                                                                                         
## spatial       NA                                                                                                                                                                                                         
## splines       "graphics, stats"                                                                                                                                                                                          
## stats         "utils, grDevices, graphics"                                                                                                                                                                               
## stats4        "graphics, methods, stats"                                                                                                                                                                                 
## survival      "graphics, Matrix, methods, splines, stats, utils"                                                                                                                                                         
## tcltk         "utils"                                                                                                                                                                                                    
## tools         NA                                                                                                                                                                                                         
## translations  NA                                                                                                                                                                                                         
## utils         NA                                                                                                                                                                                                         
##               LinkingTo                                           
## base64enc     NA                                                  
## bslib         NA                                                  
## cachem        NA                                                  
## cli           NA                                                  
## cpp11         NA                                                  
## digest        NA                                                  
## evaluate      NA                                                  
## expm          NA                                                  
## fastmap       NA                                                  
## fontawesome   NA                                                  
## fs            NA                                                  
## glue          NA                                                  
## highr         NA                                                  
## htmltools     NA                                                  
## igraph        "cpp11 (>= 0.5.0)"                                  
## jquerylib     NA                                                  
## jsonlite      NA                                                  
## knitr         NA                                                  
## lifecycle     NA                                                  
## magrittr      NA                                                  
## markovchain   "Rcpp, RcppParallel, RcppArmadillo (>= 0.9.600.4.0)"
## MASS          NA                                                  
## memoise       NA                                                  
## mime          NA                                                  
## pkgconfig     NA                                                  
## R6            NA                                                  
## rappdirs      NA                                                  
## Rcpp          NA                                                  
## RcppArmadillo "Rcpp"                                              
## RcppParallel  NA                                                  
## rJava         NA                                                  
## rlang         NA                                                  
## rmarkdown     NA                                                  
## sass          NA                                                  
## stringi       NA                                                  
## stringr       NA                                                  
## tinytex       NA                                                  
## vctrs         NA                                                  
## xfun          NA                                                  
## xlsx          NA                                                  
## xlsxjars      NA                                                  
## yaml          NA                                                  
## base          NA                                                  
## boot          NA                                                  
## class         NA                                                  
## cluster       NA                                                  
## codetools     NA                                                  
## compiler      NA                                                  
## datasets      NA                                                  
## foreign       NA                                                  
## graphics      NA                                                  
## grDevices     NA                                                  
## grid          NA                                                  
## KernSmooth    NA                                                  
## lattice       NA                                                  
## MASS          NA                                                  
## Matrix        NA                                                  
## methods       NA                                                  
## mgcv          NA                                                  
## nlme          NA                                                  
## nnet          NA                                                  
## parallel      NA                                                  
## rpart         NA                                                  
## spatial       NA                                                  
## splines       NA                                                  
## stats         NA                                                  
## stats4        NA                                                  
## survival      NA                                                  
## tcltk         NA                                                  
## tools         NA                                                  
## translations  NA                                                  
## utils         NA                                                  
##               Suggests                                                                                                                                                                                                                                                                                                                                                                                    
## base64enc     NA                                                                                                                                                                                                                                                                                                                                                                                          
## bslib         "brand.yml, bsicons, curl, fontawesome, future, ggplot2,\nknitr, lattice, magrittr, rappdirs, rmarkdown (>= 2.7), shiny\n(>= 1.11.1.9000), testthat, thematic, tools, utils, withr, yaml"                                                                                                                                                                                                   
## cachem        "testthat"                                                                                                                                                                                                                                                                                                                                                                                  
## cli           "callr, covr, crayon, digest, glue (>= 1.6.0), grDevices,\nhtmltools, htmlwidgets, knitr, methods, processx, ps (>=\n1.3.4.9000), rlang (>= 1.0.2.9003), rmarkdown, rprojroot,\nrstudioapi, testthat (>= 3.2.0), tibble, whoami, withr"                                                                                                                                                     
## cpp11         "bench, brio, callr, cli, covr, decor, desc, ggplot2, glue,\nknitr, lobstr, mockery, progress, rmarkdown, scales, Rcpp,\ntestthat (>= 3.2.0), tibble, utils, vctrs, withr"                                                                                                                                                                                                                  
## digest        "tinytest, simplermarkdown, rbenchmark"                                                                                                                                                                                                                                                                                                                                                     
## evaluate      "callr, covr, ggplot2 (>= 3.3.6), lattice, methods, pkgload,\nragg (>= 1.4.0), rlang (>= 1.1.5), knitr, testthat (>= 3.0.0),\nwithr"                                                                                                                                                                                                                                                        
## expm          "RColorBrewer, sfsmisc, Rmpfr"                                                                                                                                                                                                                                                                                                                                                              
## fastmap       "testthat (>= 2.1.1)"                                                                                                                                                                                                                                                                                                                                                                       
## fontawesome   "covr, dplyr (>= 1.0.8), gt (>= 0.9.0), knitr (>= 1.31),\ntestthat (>= 3.0.0), rsvg"                                                                                                                                                                                                                                                                                                        
## fs            "covr, crayon, knitr, pillar (>= 1.0.0), rmarkdown, spelling,\ntestthat (>= 3.0.0), tibble (>= 1.1.0), vctrs (>= 0.3.0), withr"                                                                                                                                                                                                                                                             
## glue          "crayon, DBI (>= 1.2.0), dplyr, knitr, rlang, rmarkdown,\nRSQLite, testthat (>= 3.2.0), vctrs (>= 0.3.0), waldo (>=\n0.5.3), withr"                                                                                                                                                                                                                                                         
## highr         "knitr, markdown, testit"                                                                                                                                                                                                                                                                                                                                                                   
## htmltools     "Cairo, markdown, ragg, shiny, testthat, withr"                                                                                                                                                                                                                                                                                                                                             
## igraph        "ape (>= 5.7-0.1), callr, decor, digest, igraphdata, knitr,\nrgl (>= 1.3.14), rmarkdown, scales, stats4, tcltk, testthat,\nvdiffr, withr"                                                                                                                                                                                                                                                   
## jquerylib     "testthat"                                                                                                                                                                                                                                                                                                                                                                                  
## jsonlite      "httr, vctrs, testthat, knitr, rmarkdown, R.rsp, sf"                                                                                                                                                                                                                                                                                                                                        
## knitr         "bslib, DBI (>= 0.4-1), digest, formatR, gifski, gridSVG,\nhtmlwidgets (>= 0.7), jpeg, JuliaCall (>= 0.11.1), magick,\nlitedown (>= 0.10), otel, otelsdk, png, ragg (>= 1.5.0),\nreticulate (>= 1.4), rgl (>= 0.95.1201), rlang, rmarkdown,\nsass, showtext, styler (>= 1.2.0), targets (>= 0.6.0), testit,\ntibble, tikzDevice (>= 0.10), tinytex (>= 0.56), webshot,\nrstudioapi, svglite"
## lifecycle     "covr, knitr, lintr (>= 3.1.0), rmarkdown, testthat (>=\n3.0.1), tibble, tidyverse, tools, vctrs, withr, xml2"                                                                                                                                                                                                                                                                              
## magrittr      "covr, knitr, rlang, rmarkdown, testthat"                                                                                                                                                                                                                                                                                                                                                   
## markovchain   "knitr, testthat, diagram, DiagrammeR, msm, Rsolnp, rmarkdown,\nctmcd, bookdown, rticles, MCMCpack, microbenchmark"                                                                                                                                                                                                                                                                         
## MASS          "lattice, nlme, nnet, survival"                                                                                                                                                                                                                                                                                                                                                             
## memoise       "digest, aws.s3, covr, googleAuthR, googleCloudStorageR, httr,\ntestthat"                                                                                                                                                                                                                                                                                                                   
## mime          NA                                                                                                                                                                                                                                                                                                                                                                                          
## pkgconfig     "covr, testthat, disposables (>= 1.0.3)"                                                                                                                                                                                                                                                                                                                                                    
## R6            "lobstr, testthat (>= 3.0.0)"                                                                                                                                                                                                                                                                                                                                                               
## rappdirs      "covr, roxygen2, testthat (>= 3.2.0), withr"                                                                                                                                                                                                                                                                                                                                                
## Rcpp          "tinytest, inline, rbenchmark, pkgKitten (>= 0.1.2)"                                                                                                                                                                                                                                                                                                                                        
## RcppArmadillo "tinytest, Matrix (>= 1.3.0), pkgKitten, reticulate, slam"                                                                                                                                                                                                                                                                                                                                  
## RcppParallel  "Rcpp, RUnit, knitr, rmarkdown"                                                                                                                                                                                                                                                                                                                                                             
## rJava         NA                                                                                                                                                                                                                                                                                                                                                                                          
## rlang         "cli (>= 3.1.0), covr, crayon, desc, fs, glue, knitr,\nmagrittr, methods, pillar, pkgload, rmarkdown, stats, testthat\n(>= 3.3.2), tibble, usethis, vctrs (>= 0.2.3), withr"                                                                                                                                                                                                                
## rmarkdown     "digest, dygraphs, fs, rsconnect, downlit (>= 0.4.0), katex\n(>= 1.4.0), sass (>= 0.4.0), shiny (>= 1.6.0), testthat (>=\n3.0.3), tibble, vctrs, cleanrmd, withr (>= 2.4.2), xml2"                                                                                                                                                                                                          
## sass          "testthat, knitr, rmarkdown, withr, shiny, curl"                                                                                                                                                                                                                                                                                                                                            
## stringi       NA                                                                                                                                                                                                                                                                                                                                                                                          
## stringr       "covr, dplyr, gt, htmltools, htmlwidgets, knitr, rmarkdown,\ntestthat (>= 3.0.0), tibble"                                                                                                                                                                                                                                                                                                   
## tinytex       "testit, rstudioapi"                                                                                                                                                                                                                                                                                                                                                                        
## vctrs         "bit64, covr, crayon, dplyr (>= 0.8.5), generics, knitr,\npillar (>= 1.4.4), pkgdown (>= 2.0.1), rmarkdown, testthat (>=\n3.0.0), tibble (>= 3.1.3), waldo (>= 0.2.0), withr, xml2,\nzeallot"                                                                                                                                                                                               
## xfun          "testit, parallel, codetools, methods, rstudioapi, tinytex (>=\n0.30), mime, litedown (>= 0.6), commonmark, knitr (>= 1.50),\nremotes, pak, curl, xml2, jsonlite, magick, yaml, data.table,\nqs2"                                                                                                                                                                                           
## xlsx          "rprojroot, testthat, covr, tibble, knitr, rmarkdown"                                                                                                                                                                                                                                                                                                                                       
## xlsxjars      "testthat (>= 3.0.0)"                                                                                                                                                                                                                                                                                                                                                                       
## yaml          "knitr, rmarkdown, testthat (>= 3.0.0)"                                                                                                                                                                                                                                                                                                                                                     
## base          "methods"                                                                                                                                                                                                                                                                                                                                                                                   
## boot          "MASS, survival"                                                                                                                                                                                                                                                                                                                                                                            
## class         NA                                                                                                                                                                                                                                                                                                                                                                                          
## cluster       "MASS, Matrix"                                                                                                                                                                                                                                                                                                                                                                              
## codetools     NA                                                                                                                                                                                                                                                                                                                                                                                          
## compiler      NA                                                                                                                                                                                                                                                                                                                                                                                          
## datasets      NA                                                                                                                                                                                                                                                                                                                                                                                          
## foreign       NA                                                                                                                                                                                                                                                                                                                                                                                          
## graphics      NA                                                                                                                                                                                                                                                                                                                                                                                          
## grDevices     "KernSmooth"                                                                                                                                                                                                                                                                                                                                                                                
## grid          NA                                                                                                                                                                                                                                                                                                                                                                                          
## KernSmooth    "MASS, carData"                                                                                                                                                                                                                                                                                                                                                                             
## lattice       "KernSmooth, MASS, latticeExtra, colorspace"                                                                                                                                                                                                                                                                                                                                                
## MASS          "lattice, nlme, nnet, survival"                                                                                                                                                                                                                                                                                                                                                             
## Matrix        "MASS, datasets, sfsmisc, tools"                                                                                                                                                                                                                                                                                                                                                            
## methods       "codetools"                                                                                                                                                                                                                                                                                                                                                                                 
## mgcv          "parallel, survival, MASS"                                                                                                                                                                                                                                                                                                                                                                  
## nlme          "MASS, SASmixed"                                                                                                                                                                                                                                                                                                                                                                            
## nnet          "MASS"                                                                                                                                                                                                                                                                                                                                                                                      
## parallel      "methods"                                                                                                                                                                                                                                                                                                                                                                                   
## rpart         "survival"                                                                                                                                                                                                                                                                                                                                                                                  
## spatial       "MASS"                                                                                                                                                                                                                                                                                                                                                                                      
## splines       "Matrix, methods"                                                                                                                                                                                                                                                                                                                                                                           
## stats         "MASS, Matrix, SuppDists, methods, stats4"                                                                                                                                                                                                                                                                                                                                                  
## stats4        NA                                                                                                                                                                                                                                                                                                                                                                                          
## survival      NA                                                                                                                                                                                                                                                                                                                                                                                          
## tcltk         NA                                                                                                                                                                                                                                                                                                                                                                                          
## tools         "codetools, methods, xml2, curl, commonmark, knitr, xfun, mathjaxr, V8, bibtex"                                                                                                                                                                                                                                                                                                             
## translations  NA                                                                                                                                                                                                                                                                                                                                                                                          
## utils         "methods, xml2, commonmark, knitr, jsonlite"                                                                                                                                                                                                                                                                                                                                                
##               Enhances                                               
## base64enc     "png"                                                  
## bslib         NA                                                     
## cachem        NA                                                     
## cli           NA                                                     
## cpp11         NA                                                     
## digest        NA                                                     
## evaluate      NA                                                     
## expm          NA                                                     
## fastmap       NA                                                     
## fontawesome   NA                                                     
## fs            NA                                                     
## glue          NA                                                     
## highr         NA                                                     
## htmltools     "knitr"                                                
## igraph        "graph"                                                
## jquerylib     NA                                                     
## jsonlite      NA                                                     
## knitr         NA                                                     
## lifecycle     NA                                                     
## magrittr      NA                                                     
## markovchain   "etm"                                                  
## MASS          NA                                                     
## memoise       NA                                                     
## mime          NA                                                     
## pkgconfig     NA                                                     
## R6            NA                                                     
## rappdirs      NA                                                     
## Rcpp          NA                                                     
## RcppArmadillo NA                                                     
## RcppParallel  NA                                                     
## rJava         NA                                                     
## rlang         "winch"                                                
## rmarkdown     NA                                                     
## sass          NA                                                     
## stringi       NA                                                     
## stringr       NA                                                     
## tinytex       NA                                                     
## vctrs         NA                                                     
## xfun          NA                                                     
## xlsx          NA                                                     
## xlsxjars      NA                                                     
## yaml          NA                                                     
## base          "chron, date, round"                                   
## boot          NA                                                     
## class         NA                                                     
## cluster       "mvoutlier, fpc, ellipse, sfsmisc"                     
## codetools     NA                                                     
## compiler      NA                                                     
## datasets      NA                                                     
## foreign       NA                                                     
## graphics      "vcd"                                                  
## grDevices     NA                                                     
## grid          NA                                                     
## KernSmooth    NA                                                     
## lattice       "chron, zoo"                                           
## MASS          NA                                                     
## Matrix        "SparseM, graph"                                       
## methods       NA                                                     
## mgcv          NA                                                     
## nlme          NA                                                     
## nnet          NA                                                     
## parallel      "snow, Rmpi, mirai, parallelly"                        
## rpart         NA                                                     
## spatial       NA                                                     
## splines       NA                                                     
## stats         "Kendall, coin, multcomp, pcaPP, pspearman, robustbase"
## stats4        NA                                                     
## survival      NA                                                     
## tcltk         NA                                                     
## tools         NA                                                     
## translations  NA                                                     
## utils         NA                                                     
##               License                       License_is_FOSS
## base64enc     "GPL-2 | GPL-3"               NA             
## bslib         "MIT + file LICENSE"          NA             
## cachem        "MIT + file LICENSE"          NA             
## cli           "MIT + file LICENSE"          NA             
## cpp11         "MIT + file LICENSE"          NA             
## digest        "GPL (>= 2)"                  NA             
## evaluate      "MIT + file LICENSE"          NA             
## expm          "GPL (>= 2)"                  NA             
## fastmap       "MIT + file LICENSE"          NA             
## fontawesome   "MIT + file LICENSE"          NA             
## fs            "MIT + file LICENSE"          NA             
## glue          "MIT + file LICENSE"          NA             
## highr         "GPL"                         NA             
## htmltools     "GPL (>= 2)"                  NA             
## igraph        "GPL (>= 2)"                  NA             
## jquerylib     "MIT + file LICENSE"          NA             
## jsonlite      "MIT + file LICENSE"          NA             
## knitr         "GPL"                         NA             
## lifecycle     "MIT + file LICENSE"          NA             
## magrittr      "MIT + file LICENSE"          NA             
## markovchain   "MIT + file LICENSE"          NA             
## MASS          "GPL-2 | GPL-3"               NA             
## memoise       "MIT + file LICENSE"          NA             
## mime          "GPL"                         NA             
## pkgconfig     "MIT + file LICENSE"          NA             
## R6            "MIT + file LICENSE"          NA             
## rappdirs      "MIT + file LICENSE"          NA             
## Rcpp          "GPL (>= 2)"                  NA             
## RcppArmadillo "GPL (>= 2)"                  NA             
## RcppParallel  "GPL (>= 3)"                  NA             
## rJava         "LGPL-2.1"                    NA             
## rlang         "MIT + file LICENSE"          NA             
## rmarkdown     "MIT + file LICENSE"          NA             
## sass          "MIT + file LICENSE"          NA             
## stringi       "file LICENSE"                "yes"          
## stringr       "MIT + file LICENSE"          NA             
## tinytex       "MIT + file LICENSE"          NA             
## vctrs         "MIT + file LICENSE"          NA             
## xfun          "MIT + file LICENSE"          NA             
## xlsx          "GPL-3"                       NA             
## xlsxjars      "GPL-3"                       NA             
## yaml          "BSD_3_clause + file LICENSE" NA             
## base          "Part of R 4.6.0"             NA             
## boot          "Unlimited"                   NA             
## class         "GPL-2 | GPL-3"               NA             
## cluster       "GPL (>= 2)"                  NA             
## codetools     "GPL"                         NA             
## compiler      "Part of R 4.6.0"             NA             
## datasets      "Part of R 4.6.0"             NA             
## foreign       "GPL (>= 2)"                  NA             
## graphics      "Part of R 4.6.0"             NA             
## grDevices     "Part of R 4.6.0"             NA             
## grid          "Part of R 4.6.0"             NA             
## KernSmooth    "Unlimited"                   NA             
## lattice       "GPL (>= 2)"                  NA             
## MASS          "GPL-2 | GPL-3"               NA             
## Matrix        "GPL (>= 2) | file LICENCE"   NA             
## methods       "Part of R 4.6.0"             NA             
## mgcv          "GPL (>= 2)"                  NA             
## nlme          "GPL (>= 2)"                  NA             
## nnet          "GPL-2 | GPL-3"               NA             
## parallel      "Part of R 4.6.0"             NA             
## rpart         "GPL-2 | GPL-3"               NA             
## spatial       "GPL-2 | GPL-3"               NA             
## splines       "Part of R 4.6.0"             NA             
## stats         "Part of R 4.6.0"             NA             
## stats4        "Part of R 4.6.0"             NA             
## survival      "LGPL (>= 2)"                 NA             
## tcltk         "Part of R 4.6.0"             NA             
## tools         "Part of R 4.6.0"             NA             
## translations  "Part of R 4.6.0"             NA             
## utils         "Part of R 4.6.0"             NA             
##               License_restricts_use OS_type MD5sum NeedsCompilation
## base64enc     NA                    NA      NA     "yes"           
## bslib         NA                    NA      NA     "no"            
## cachem        NA                    NA      NA     "yes"           
## cli           NA                    NA      NA     "yes"           
## cpp11         NA                    NA      NA     "no"            
## digest        NA                    NA      NA     "yes"           
## evaluate      NA                    NA      NA     "no"            
## expm          NA                    NA      NA     "yes"           
## fastmap       NA                    NA      NA     "yes"           
## fontawesome   NA                    NA      NA     "no"            
## fs            NA                    NA      NA     "yes"           
## glue          NA                    NA      NA     "yes"           
## highr         NA                    NA      NA     "no"            
## htmltools     NA                    NA      NA     "yes"           
## igraph        NA                    NA      NA     "yes"           
## jquerylib     NA                    NA      NA     "no"            
## jsonlite      NA                    NA      NA     "yes"           
## knitr         NA                    NA      NA     "no"            
## lifecycle     NA                    NA      NA     "no"            
## magrittr      NA                    NA      NA     "yes"           
## markovchain   NA                    NA      NA     "yes"           
## MASS          NA                    NA      NA     "yes"           
## memoise       NA                    NA      NA     "no"            
## mime          NA                    NA      NA     "yes"           
## pkgconfig     NA                    NA      NA     "no"            
## R6            NA                    NA      NA     "no"            
## rappdirs      NA                    NA      NA     "yes"           
## Rcpp          NA                    NA      NA     "yes"           
## RcppArmadillo NA                    NA      NA     "yes"           
## RcppParallel  NA                    NA      NA     "yes"           
## rJava         NA                    NA      NA     "yes"           
## rlang         NA                    NA      NA     "yes"           
## rmarkdown     NA                    NA      NA     "no"            
## sass          NA                    NA      NA     "yes"           
## stringi       NA                    NA      NA     "yes"           
## stringr       NA                    NA      NA     "no"            
## tinytex       NA                    NA      NA     "no"            
## vctrs         NA                    NA      NA     "yes"           
## xfun          NA                    NA      NA     "yes"           
## xlsx          NA                    NA      NA     "no"            
## xlsxjars      NA                    NA      NA     "no"            
## yaml          NA                    NA      NA     "yes"           
## base          NA                    NA      NA     NA              
## boot          NA                    NA      NA     "no"            
## class         NA                    NA      NA     "yes"           
## cluster       NA                    NA      NA     "yes"           
## codetools     NA                    NA      NA     "no"            
## compiler      NA                    NA      NA     NA              
## datasets      NA                    NA      NA     NA              
## foreign       NA                    NA      NA     "yes"           
## graphics      NA                    NA      NA     "yes"           
## grDevices     NA                    NA      NA     "yes"           
## grid          NA                    NA      NA     "yes"           
## KernSmooth    NA                    NA      NA     "yes"           
## lattice       NA                    NA      NA     "yes"           
## MASS          NA                    NA      NA     "yes"           
## Matrix        NA                    NA      NA     "yes"           
## methods       NA                    NA      NA     "yes"           
## mgcv          NA                    NA      NA     "yes"           
## nlme          NA                    NA      NA     "yes"           
## nnet          NA                    NA      NA     "yes"           
## parallel      NA                    NA      NA     "yes"           
## rpart         NA                    NA      NA     "yes"           
## spatial       NA                    NA      NA     "yes"           
## splines       NA                    NA      NA     "yes"           
## stats         NA                    NA      NA     "yes"           
## stats4        NA                    NA      NA     NA              
## survival      NA                    NA      NA     "yes"           
## tcltk         NA                    NA      NA     "yes"           
## tools         NA                    NA      NA     "yes"           
## translations  NA                    NA      NA     NA              
## utils         NA                    NA      NA     "yes"           
##               Built                                                          
## base64enc     "R 4.6.1; x86_64-w64-mingw32; 2026-08-19 11:46:07 UTC; windows"
## bslib         "R 4.6.1; ; 2026-09-29 13:54:54 UTC; windows"                  
## cachem        "R 4.6.1; x86_64-w64-mingw32; 2026-09-29 13:13:16 UTC; windows"
## cli           "R 4.6.0; x86_64-w64-mingw32; 2026-06-09 01:06:03 UTC; windows"
## cpp11         "R 4.6.0; ; 2026-06-09 01:06:06 UTC; windows"                  
## digest        "R 4.6.1; x86_64-w64-mingw32; 2026-09-29 12:14:50 UTC; windows"
## evaluate      "R 4.6.1; ; 2026-09-29 12:14:50 UTC; windows"                  
## expm          "R 4.6.0; x86_64-w64-mingw32; 2026-06-09 02:16:20 UTC; windows"
## fastmap       "R 4.6.1; x86_64-w64-mingw32; 2026-09-29 12:14:50 UTC; windows"
## fontawesome   "R 4.6.1; ; 2026-09-29 13:33:42 UTC; windows"                  
## fs            "R 4.6.1; x86_64-w64-mingw32; 2026-09-29 12:14:52 UTC; windows"
## glue          "R 4.6.0; x86_64-w64-mingw32; 2026-06-09 01:06:02 UTC; windows"
## highr         "R 4.6.1; ; 2026-09-29 13:13:18 UTC; windows"                  
## htmltools     "R 4.6.1; x86_64-w64-mingw32; 2026-09-29 13:13:16 UTC; windows"
## igraph        "R 4.6.0; x86_64-w64-mingw32; 2026-06-09 02:38:36 UTC; windows"
## jquerylib     "R 4.6.1; ; 2026-09-29 13:33:40 UTC; windows"                  
## jsonlite      "R 4.6.1; x86_64-w64-mingw32; 2026-09-29 12:14:52 UTC; windows"
## knitr         "R 4.6.1; ; 2026-09-29 13:33:47 UTC; windows"                  
## lifecycle     "R 4.6.0; ; 2026-06-09 01:59:44 UTC; windows"                  
## magrittr      "R 4.6.0; x86_64-w64-mingw32; 2026-06-09 01:06:01 UTC; windows"
## markovchain   "R 4.6.0; x86_64-w64-mingw32; 2026-06-09 03:00:53 UTC; windows"
## MASS          "R 4.6.1; x86_64-w64-mingw32; 2026-09-29 12:14:52 UTC; windows"
## memoise       "R 4.6.1; ; 2026-09-29 13:33:40 UTC; windows"                  
## mime          "R 4.6.1; x86_64-w64-mingw32; 2026-08-19 11:46:07 UTC; windows"
## pkgconfig     "R 4.6.0; ; 2026-06-09 01:06:01 UTC; windows"                  
## R6            "R 4.6.1; ; 2026-09-29 12:14:50 UTC; windows"                  
## rappdirs      "R 4.6.1; x86_64-w64-mingw32; 2026-09-29 12:14:49 UTC; windows"
## Rcpp          "R 4.6.0; x86_64-w64-mingw32; 2026-06-09 01:06:06 UTC; windows"
## RcppArmadillo "R 4.6.0; x86_64-w64-mingw32; 2026-06-09 01:59:45 UTC; windows"
## RcppParallel  "R 4.6.0; x86_64-w64-mingw32; 2026-06-09 01:06:25 UTC; windows"
## rJava         "R 4.6.1; x86_64-w64-mingw32; 2026-08-19 11:47:47 UTC; windows"
## rlang         "R 4.6.0; x86_64-w64-mingw32; 2026-06-09 01:06:02 UTC; windows"
## rmarkdown     "R 4.6.0; ; 2026-10-06 15:49:19 UTC; windows"                  
## sass          "R 4.6.1; x86_64-w64-mingw32; 2026-09-29 13:33:41 UTC; windows"
## stringi       "R 4.6.1; x86_64-w64-mingw32; 2026-08-19 11:46:22 UTC; windows"
## stringr       "R 4.6.1; ; 2026-09-29 13:54:49 UTC; windows"                  
## tinytex       "R 4.6.1; ; 2026-09-29 13:13:19 UTC; windows"                  
## vctrs         "R 4.6.0; x86_64-w64-mingw32; 2026-06-09 02:16:19 UTC; windows"
## xfun          "R 4.6.1; x86_64-w64-mingw32; 2026-09-29 12:14:52 UTC; windows"
## xlsx          "R 4.6.0; ; 2025-07-01 00:42:20 UTC; windows"                  
## xlsxjars      "R 4.6.1; ; 2026-09-29 12:16:10 UTC; windows"                  
## yaml          "R 4.6.1; x86_64-w64-mingw32; 2026-09-29 12:14:55 UTC; windows"
## base          "R 4.6.0; ; 2026-04-24 08:08:52 UTC; windows"                  
## boot          "R 4.6.0; ; 2026-04-24 08:16:13 UTC; windows"                  
## class         "R 4.6.0; x86_64-w64-mingw32; 2026-04-24 08:16:55 UTC; windows"
## cluster       "R 4.6.0; x86_64-w64-mingw32; 2026-04-24 08:16:19 UTC; windows"
## codetools     "R 4.6.0; ; 2026-04-24 08:16:28 UTC; windows"                  
## compiler      "R 4.6.0; ; 2026-04-24 08:04:12 UTC; windows"                  
## datasets      "R 4.6.0; ; 2026-04-24 08:07:41 UTC; windows"                  
## foreign       "R 4.6.0; x86_64-w64-mingw32; 2026-04-24 08:16:31 UTC; windows"
## graphics      "R 4.6.0; x86_64-w64-mingw32; 2026-04-24 08:06:10 UTC; windows"
## grDevices     "R 4.6.0; x86_64-w64-mingw32; 2026-04-24 08:05:38 UTC; windows"
## grid          "R 4.6.0; x86_64-w64-mingw32; 2026-04-24 08:08:12 UTC; windows"
## KernSmooth    "R 4.6.0; x86_64-w64-mingw32; 2026-04-24 08:16:39 UTC; windows"
## lattice       "R 4.6.0; x86_64-w64-mingw32; 2026-04-24 08:10:45 UTC; windows"
## MASS          "R 4.6.0; x86_64-w64-mingw32; 2026-04-24 08:10:35 UTC; windows"
## Matrix        "R 4.6.0; x86_64-w64-mingw32; 2026-04-24 08:10:57 UTC; windows"
## methods       "R 4.6.0; x86_64-w64-mingw32; 2026-04-24 08:07:49 UTC; windows"
## mgcv          "R 4.6.0; x86_64-w64-mingw32; 2026-04-24 08:17:06 UTC; windows"
## nlme          "R 4.6.0; x86_64-w64-mingw32; 2026-04-24 08:15:10 UTC; windows"
## nnet          "R 4.6.0; x86_64-w64-mingw32; 2026-04-24 08:16:59 UTC; windows"
## parallel      "R 4.6.0; x86_64-w64-mingw32; 2026-04-24 08:08:43 UTC; windows"
## rpart         "R 4.6.0; x86_64-w64-mingw32; 2026-04-24 08:16:45 UTC; windows"
## spatial       "R 4.6.0; x86_64-w64-mingw32; 2026-04-24 08:17:02 UTC; windows"
## splines       "R 4.6.0; x86_64-w64-mingw32; 2026-04-24 08:08:30 UTC; windows"
## stats         "R 4.6.0; x86_64-w64-mingw32; 2026-04-24 08:06:29 UTC; windows"
## stats4        "R 4.6.0; ; 2026-04-24 08:08:34 UTC; windows"                  
## survival      "R 4.6.0; x86_64-w64-mingw32; 2026-04-24 08:15:31 UTC; windows"
## tcltk         "R 4.6.0; x86_64-w64-mingw32; 2026-04-24 08:08:36 UTC; windows"
## tools         "R 4.6.0; x86_64-w64-mingw32; 2026-04-24 08:04:11 UTC; windows"
## translations  "R 4.6.0; ; 2026-04-24 08:08:48 UTC; windows"                  
## utils         "R 4.6.0; x86_64-w64-mingw32; 2026-04-24 08:04:59 UTC; windows"
##               Published
## base64enc     NA       
## bslib         NA       
## cachem        NA       
## cli           NA       
## cpp11         NA       
## digest        NA       
## evaluate      NA       
## expm          NA       
## fastmap       NA       
## fontawesome   NA       
## fs            NA       
## glue          NA       
## highr         NA       
## htmltools     NA       
## igraph        NA       
## jquerylib     NA       
## jsonlite      NA       
## knitr         NA       
## lifecycle     NA       
## magrittr      NA       
## markovchain   NA       
## MASS          NA       
## memoise       NA       
## mime          NA       
## pkgconfig     NA       
## R6            NA       
## rappdirs      NA       
## Rcpp          NA       
## RcppArmadillo NA       
## RcppParallel  NA       
## rJava         NA       
## rlang         NA       
## rmarkdown     NA       
## sass          NA       
## stringi       NA       
## stringr       NA       
## tinytex       NA       
## vctrs         NA       
## xfun          NA       
## xlsx          NA       
## xlsxjars      NA       
## yaml          NA       
## base          NA       
## boot          NA       
## class         NA       
## cluster       NA       
## codetools     NA       
## compiler      NA       
## datasets      NA       
## foreign       NA       
## graphics      NA       
## grDevices     NA       
## grid          NA       
## KernSmooth    NA       
## lattice       NA       
## MASS          NA       
## Matrix        NA       
## methods       NA       
## mgcv          NA       
## nlme          NA       
## nnet          NA       
## parallel      NA       
## rpart         NA       
## spatial       NA       
## splines       NA       
## stats         NA       
## stats4        NA       
## survival      NA       
## tcltk         NA       
## tools         NA       
## translations  NA       
## utils         NA

Paquete MASS

library(MASS)
## Warning: package 'MASS' was built under R version 4.6.1
help(package = "MASS")

Paquete survival

library(survival)
help(package = "survival")

Paquete Rcmdr

?Rcmdr
## No documentation for 'Rcmdr' in specified packages and libraries:
## you could try '??Rcmdr'
setwd("C:/Users/lamel/Desktop/Software_A_Datos")
list.files()
## [1] "biopsy.csv"           "ejercicio2_datos.csv" "ejercicio2_datos.txt"
## [4] "melanoma.csv"         "melanoma.txt"         "melanoma.xlsx"       
## [7] "resumen.doc"          "Unidad1.Rmd"

Ejercicio 2

a) Importación del archivo de texto

datos_txt <- read.table("ejercicio2_datos.txt", header = TRUE)

Comprobamos los datos:

head(datos_txt)
##   Nombre Edad Peso Altura Horas_Ejercicio
## 1    Ana   25 60.5   1.65               3
## 2 Carlos   34 78.2   1.80               2
## 3  Lucia   29 63.0   1.68               4
## 4 Miguel   45 85.7   1.75               1
## 5   Sara   38 70.4   1.70               3
## 6  Pablo   52 91.3   1.82               1
str(datos_txt)
## 'data.frame':    10 obs. of  5 variables:
##  $ Nombre         : chr  "Ana" "Carlos" "Lucia" "Miguel" ...
##  $ Edad           : int  25 34 29 45 38 52 31 41 27 36
##  $ Peso           : num  60.5 78.2 63 85.7 70.4 91.3 58.9 82.1 67.5 75.8
##  $ Altura         : num  1.65 1.8 1.68 1.75 1.7 1.82 1.62 1.78 1.66 1.74
##  $ Horas_Ejercicio: int  3 2 4 1 3 1 5 2 4 3

b) Importación del archivo CSV

datos_csv <- read.csv("ejercicio2_datos.csv")

Comprobamos los datos:

head(datos_csv)
##   Paciente Edad Colesterol Glucosa Presion_Arterial
## 1     P001   25        178      92              118
## 2     P002   47        225     110              135
## 3     P003   36        190      98              124
## 4     P004   59        248     126              145
## 5     P005   42        210     105              132
## 6     P006   31        182      89              116
str(datos_csv)
## 'data.frame':    10 obs. of  5 variables:
##  $ Paciente        : chr  "P001" "P002" "P003" "P004" ...
##  $ Edad            : int  25 47 36 59 42 31 68 53 29 45
##  $ Colesterol      : int  178 225 190 248 210 182 265 231 175 218
##  $ Glucosa         : int  92 110 98 126 105 89 140 118 85 101
##  $ Presion_Arterial: int  118 135 124 145 132 116 152 138 112 129

Summary de tres variables y fivenum() de dos variables

summary(datos_txt$Edad)
##    Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
##   25.00   29.50   35.00   35.80   40.25   52.00
summary(datos_txt$Peso)
##    Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
##   58.90   64.12   73.10   73.34   81.12   91.30
summary(datos_txt$Horas_Ejercicio)
##    Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
##    1.00    2.00    3.00    2.80    3.75    5.00
fivenum(datos_csv$Colesterol)
## [1] 175 182 214 231 265
fivenum(datos_csv$Glucosa)
## [1]  85  92 103 118 140

###Datos anorexia

install.packages("MASS")
## Warning: package 'MASS' is in use and will not be installed
library(MASS)
data(anorexia)
str(anorexia)
## 'data.frame':    72 obs. of  3 variables:
##  $ Treat : Factor w/ 3 levels "CBT","Cont","FT": 2 2 2 2 2 2 2 2 2 2 ...
##  $ Prewt : num  80.7 89.4 91.8 74 78.1 88.3 87.3 75.1 80.6 78.4 ...
##  $ Postwt: num  80.2 80.1 86.4 86.3 76.1 78.1 75.1 86.7 73.5 84.6 ...
sapply(anorexia, class)
##     Treat     Prewt    Postwt 
##  "factor" "numeric" "numeric"
is.na(anorexia)
##    Treat Prewt Postwt
## 1  FALSE FALSE  FALSE
## 2  FALSE FALSE  FALSE
## 3  FALSE FALSE  FALSE
## 4  FALSE FALSE  FALSE
## 5  FALSE FALSE  FALSE
## 6  FALSE FALSE  FALSE
## 7  FALSE FALSE  FALSE
## 8  FALSE FALSE  FALSE
## 9  FALSE FALSE  FALSE
## 10 FALSE FALSE  FALSE
## 11 FALSE FALSE  FALSE
## 12 FALSE FALSE  FALSE
## 13 FALSE FALSE  FALSE
## 14 FALSE FALSE  FALSE
## 15 FALSE FALSE  FALSE
## 16 FALSE FALSE  FALSE
## 17 FALSE FALSE  FALSE
## 18 FALSE FALSE  FALSE
## 19 FALSE FALSE  FALSE
## 20 FALSE FALSE  FALSE
## 21 FALSE FALSE  FALSE
## 22 FALSE FALSE  FALSE
## 23 FALSE FALSE  FALSE
## 24 FALSE FALSE  FALSE
## 25 FALSE FALSE  FALSE
## 26 FALSE FALSE  FALSE
## 27 FALSE FALSE  FALSE
## 28 FALSE FALSE  FALSE
## 29 FALSE FALSE  FALSE
## 30 FALSE FALSE  FALSE
## 31 FALSE FALSE  FALSE
## 32 FALSE FALSE  FALSE
## 33 FALSE FALSE  FALSE
## 34 FALSE FALSE  FALSE
## 35 FALSE FALSE  FALSE
## 36 FALSE FALSE  FALSE
## 37 FALSE FALSE  FALSE
## 38 FALSE FALSE  FALSE
## 39 FALSE FALSE  FALSE
## 40 FALSE FALSE  FALSE
## 41 FALSE FALSE  FALSE
## 42 FALSE FALSE  FALSE
## 43 FALSE FALSE  FALSE
## 44 FALSE FALSE  FALSE
## 45 FALSE FALSE  FALSE
## 46 FALSE FALSE  FALSE
## 47 FALSE FALSE  FALSE
## 48 FALSE FALSE  FALSE
## 49 FALSE FALSE  FALSE
## 50 FALSE FALSE  FALSE
## 51 FALSE FALSE  FALSE
## 52 FALSE FALSE  FALSE
## 53 FALSE FALSE  FALSE
## 54 FALSE FALSE  FALSE
## 55 FALSE FALSE  FALSE
## 56 FALSE FALSE  FALSE
## 57 FALSE FALSE  FALSE
## 58 FALSE FALSE  FALSE
## 59 FALSE FALSE  FALSE
## 60 FALSE FALSE  FALSE
## 61 FALSE FALSE  FALSE
## 62 FALSE FALSE  FALSE
## 63 FALSE FALSE  FALSE
## 64 FALSE FALSE  FALSE
## 65 FALSE FALSE  FALSE
## 66 FALSE FALSE  FALSE
## 67 FALSE FALSE  FALSE
## 68 FALSE FALSE  FALSE
## 69 FALSE FALSE  FALSE
## 70 FALSE FALSE  FALSE
## 71 FALSE FALSE  FALSE
## 72 FALSE FALSE  FALSE
sum(is.na(anorexia))
## [1] 0
is.null(anorexia)
## [1] FALSE
table(anorexia$Treat)
## 
##  CBT Cont   FT 
##   29   26   17
levels(anorexia$Treat) <- c("Cogn Beh Tr", "Contr", "Fam Tr")
table(anorexia$Treat)
## 
## Cogn Beh Tr       Contr      Fam Tr 
##          29          26          17

Ejercicio 4

a) Exportación de biopsy

library(MASS)
data(biopsy)

str(biopsy)
## 'data.frame':    699 obs. of  11 variables:
##  $ ID   : chr  "1000025" "1002945" "1015425" "1016277" ...
##  $ V1   : int  5 5 3 6 4 8 1 2 2 4 ...
##  $ V2   : int  1 4 1 8 1 10 1 1 1 2 ...
##  $ V3   : int  1 4 1 8 1 10 1 2 1 1 ...
##  $ V4   : int  1 5 1 1 3 8 1 1 1 1 ...
##  $ V5   : int  2 7 2 3 2 7 2 2 2 2 ...
##  $ V6   : int  1 10 2 4 1 10 10 1 1 1 ...
##  $ V7   : int  3 3 3 3 3 9 3 3 1 2 ...
##  $ V8   : int  1 2 1 7 1 7 1 1 1 1 ...
##  $ V9   : int  1 1 1 1 1 1 1 1 5 1 ...
##  $ class: Factor w/ 2 levels "benign","malignant": 1 1 1 1 1 2 1 1 1 1 ...
write.csv(biopsy, "biopsy.csv")

data(Melanoma)

write.csv(Melanoma, "melanoma.csv")

write.table(Melanoma, "melanoma.txt")
library(xlsx)
write.xlsx(Melanoma, "melanoma.xlsx")
list.files()
## [1] "biopsy.csv"           "ejercicio2_datos.csv" "ejercicio2_datos.txt"
## [4] "melanoma.csv"         "melanoma.txt"         "melanoma.xlsx"       
## [7] "resumen.doc"          "Unidad1.Rmd"
resumen <- summary(Melanoma$age)

capture.output(resumen, file = "resumen.doc")