knitr::opts_chunk$set(echo = TRUE)
Utilizando las funciones citadas en este Laboratorio, comprobad qué paquetes tenéis instalados en vuestra versión de RStudio e instalad el paquete MASS y el paquete Survival y comprobad la información que contienen.
installed.packages()
## Package LibPath
## abind "abind" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## aplpack "aplpack" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## arm "arm" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## backports "backports" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## base64enc "base64enc" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## bit "bit" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## bit64 "bit64" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## brio "brio" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## broom "broom" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## bslib "bslib" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## cachem "cachem" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## callr "callr" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## car "car" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## carData "carData" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## cellranger "cellranger" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## checkmate "checkmate" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## cli "cli" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## clipr "clipr" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## coda "coda" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## colorspace "colorspace" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## commonmark "commonmark" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## cpp11 "cpp11" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## crayon "crayon" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## data.table "data.table" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## DBI "DBI" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## desc "desc" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## diffobj "diffobj" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## digest "digest" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## dplyr "dplyr" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## e1071 "e1071" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## effects "effects" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## ellipsis "ellipsis" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## estimability "estimability" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## evaluate "evaluate" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## fansi "fansi" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## farver "farver" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## fastmap "fastmap" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## fontawesome "fontawesome" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## forcats "forcats" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## Formula "Formula" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## fs "fs" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## generics "generics" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## ggplot2 "ggplot2" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## glue "glue" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## gridExtra "gridExtra" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## gtable "gtable" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## haven "haven" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## highr "highr" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## Hmisc "Hmisc" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## hms "hms" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## htmlTable "htmlTable" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## htmltools "htmltools" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## htmlwidgets "htmlwidgets" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## insight "insight" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## isoband "isoband" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## jquerylib "jquerylib" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## jsonlite "jsonlite" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## knitr "knitr" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## labeling "labeling" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## leaps "leaps" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## lifecycle "lifecycle" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## lme4 "lme4" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## lmtest "lmtest" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## magrittr "magrittr" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## markdown "markdown" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## MASS "MASS" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## MatrixModels "MatrixModels" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## memoise "memoise" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## mi "mi" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## mime "mime" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## minqa "minqa" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## mitools "mitools" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## multcomp "multcomp" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## munsell "munsell" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## mvtnorm "mvtnorm" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## nloptr "nloptr" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## nortest "nortest" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## numDeriv "numDeriv" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## openxlsx "openxlsx" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## pbkrtest "pbkrtest" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## pillar "pillar" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## pkgbuild "pkgbuild" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## pkgconfig "pkgconfig" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## pkgload "pkgload" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## praise "praise" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## prettyunits "prettyunits" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## processx "processx" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## progress "progress" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## proxy "proxy" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## ps "ps" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## purrr "purrr" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## quantreg "quantreg" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## R6 "R6" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## rappdirs "rappdirs" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## Rcmdr "Rcmdr" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## RcmdrMisc "RcmdrMisc" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## RColorBrewer "RColorBrewer" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## Rcpp "Rcpp" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## RcppArmadillo "RcppArmadillo" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## RcppEigen "RcppEigen" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## readr "readr" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## readstata13 "readstata13" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## readxl "readxl" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## relimp "relimp" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## rematch "rematch" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## rematch2 "rematch2" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## rgl "rgl" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## rlang "rlang" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## rmarkdown "rmarkdown" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## rprojroot "rprojroot" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## rstudioapi "rstudioapi" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## sandwich "sandwich" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## sass "sass" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## scales "scales" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## sem "sem" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## SparseM "SparseM" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## stringi "stringi" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## stringr "stringr" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## survey "survey" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## tcltk2 "tcltk2" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## testthat "testthat" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## TH.data "TH.data" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## tibble "tibble" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## tidyr "tidyr" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## tidyselect "tidyselect" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## tinytex "tinytex" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## tzdb "tzdb" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## utf8 "utf8" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## vctrs "vctrs" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## viridis "viridis" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## viridisLite "viridisLite" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## vroom "vroom" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## waldo "waldo" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## withr "withr" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## xfun "xfun" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## yaml "yaml" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## zip "zip" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## zoo "zoo" "C:/Users/Lucia/AppData/Local/R/win-library/4.3"
## base "base" "C:/Program Files/R/R-4.3.3/library"
## boot "boot" "C:/Program Files/R/R-4.3.3/library"
## class "class" "C:/Program Files/R/R-4.3.3/library"
## cluster "cluster" "C:/Program Files/R/R-4.3.3/library"
## codetools "codetools" "C:/Program Files/R/R-4.3.3/library"
## compiler "compiler" "C:/Program Files/R/R-4.3.3/library"
## datasets "datasets" "C:/Program Files/R/R-4.3.3/library"
## foreign "foreign" "C:/Program Files/R/R-4.3.3/library"
## graphics "graphics" "C:/Program Files/R/R-4.3.3/library"
## grDevices "grDevices" "C:/Program Files/R/R-4.3.3/library"
## grid "grid" "C:/Program Files/R/R-4.3.3/library"
## KernSmooth "KernSmooth" "C:/Program Files/R/R-4.3.3/library"
## lattice "lattice" "C:/Program Files/R/R-4.3.3/library"
## MASS "MASS" "C:/Program Files/R/R-4.3.3/library"
## Matrix "Matrix" "C:/Program Files/R/R-4.3.3/library"
## methods "methods" "C:/Program Files/R/R-4.3.3/library"
## mgcv "mgcv" "C:/Program Files/R/R-4.3.3/library"
## nlme "nlme" "C:/Program Files/R/R-4.3.3/library"
## nnet "nnet" "C:/Program Files/R/R-4.3.3/library"
## parallel "parallel" "C:/Program Files/R/R-4.3.3/library"
## rpart "rpart" "C:/Program Files/R/R-4.3.3/library"
## spatial "spatial" "C:/Program Files/R/R-4.3.3/library"
## splines "splines" "C:/Program Files/R/R-4.3.3/library"
## stats "stats" "C:/Program Files/R/R-4.3.3/library"
## stats4 "stats4" "C:/Program Files/R/R-4.3.3/library"
## survival "survival" "C:/Program Files/R/R-4.3.3/library"
## tcltk "tcltk" "C:/Program Files/R/R-4.3.3/library"
## tools "tools" "C:/Program Files/R/R-4.3.3/library"
## translations "translations" "C:/Program Files/R/R-4.3.3/library"
## utils "utils" "C:/Program Files/R/R-4.3.3/library"
## Version Priority
## abind "1.4-5" NA
## aplpack "1.3.5" NA
## arm "1.13-1" NA
## backports "1.4.1" NA
## base64enc "0.1-3" NA
## bit "4.0.5" NA
## bit64 "4.0.5" NA
## brio "1.1.4" NA
## broom "1.0.5" NA
## bslib "0.6.1" NA
## cachem "1.0.8" NA
## callr "3.7.5" NA
## car "3.1-2" NA
## carData "3.0-5" NA
## cellranger "1.1.0" NA
## checkmate "2.3.1" NA
## cli "3.6.2" NA
## clipr "0.8.0" NA
## coda "0.19-4.1" NA
## colorspace "2.1-0" NA
## commonmark "1.9.1" NA
## cpp11 "0.4.7" NA
## crayon "1.5.2" NA
## data.table "1.15.2" NA
## DBI "1.2.2" NA
## desc "1.4.3" NA
## diffobj "0.3.5" NA
## digest "0.6.35" NA
## dplyr "1.1.4" NA
## e1071 "1.7-14" NA
## effects "4.2-2" NA
## ellipsis "0.3.2" NA
## estimability "1.5" NA
## evaluate "0.23" NA
## fansi "1.0.6" NA
## farver "2.1.1" NA
## fastmap "1.1.1" NA
## fontawesome "0.5.2" NA
## forcats "1.0.0" NA
## Formula "1.2-5" NA
## fs "1.6.3" NA
## generics "0.1.3" NA
## ggplot2 "3.5.0" NA
## glue "1.7.0" NA
## gridExtra "2.3" NA
## gtable "0.3.4" NA
## haven "2.5.4" NA
## highr "0.10" NA
## Hmisc "5.1-2" NA
## hms "1.1.3" NA
## htmlTable "2.4.2" NA
## htmltools "0.5.7" NA
## htmlwidgets "1.6.4" NA
## insight "0.19.8" NA
## isoband "0.2.7" NA
## jquerylib "0.1.4" NA
## jsonlite "1.8.8" NA
## knitr "1.45" NA
## labeling "0.4.3" NA
## leaps "3.1" NA
## lifecycle "1.0.4" NA
## lme4 "1.1-35.1" NA
## lmtest "0.9-40" NA
## magrittr "2.0.3" NA
## markdown "1.12" NA
## MASS "7.3-60.0.1" "recommended"
## MatrixModels "0.5-3" NA
## memoise "2.0.1" NA
## mi "1.1" NA
## mime "0.12" NA
## minqa "1.2.6" NA
## mitools "2.4" NA
## multcomp "1.4-25" NA
## munsell "0.5.0" NA
## mvtnorm "1.2-4" NA
## nloptr "2.0.3" NA
## nortest "1.0-4" NA
## numDeriv "2016.8-1.1" NA
## openxlsx "4.2.5.2" NA
## pbkrtest "0.5.2" NA
## pillar "1.9.0" NA
## pkgbuild "1.4.3" NA
## pkgconfig "2.0.3" NA
## pkgload "1.3.4" NA
## praise "1.0.0" NA
## prettyunits "1.2.0" NA
## processx "3.8.3" NA
## progress "1.2.3" NA
## proxy "0.4-27" NA
## ps "1.7.6" NA
## purrr "1.0.2" NA
## quantreg "5.97" NA
## R6 "2.5.1" NA
## rappdirs "0.3.3" NA
## Rcmdr "2.9-2" NA
## RcmdrMisc "2.9-1" NA
## RColorBrewer "1.1-3" NA
## Rcpp "1.0.12" NA
## RcppArmadillo "0.12.8.1.0" NA
## RcppEigen "0.3.4.0.0" NA
## readr "2.1.5" NA
## readstata13 "0.10.1" NA
## readxl "1.4.3" NA
## relimp "1.0-5" NA
## rematch "2.0.0" NA
## rematch2 "2.1.2" NA
## rgl "1.3.1" NA
## rlang "1.1.3" NA
## rmarkdown "2.26" NA
## rprojroot "2.0.4" NA
## rstudioapi "0.15.0" NA
## sandwich "3.1-0" NA
## sass "0.4.8" NA
## scales "1.3.0" NA
## sem "3.1-15" NA
## SparseM "1.81" NA
## stringi "1.8.3" NA
## stringr "1.5.1" NA
## survey "4.4-1" NA
## tcltk2 "1.2-11" NA
## testthat "3.2.1" NA
## TH.data "1.1-2" NA
## tibble "3.2.1" NA
## tidyr "1.3.1" NA
## tidyselect "1.2.1" NA
## tinytex "0.49" NA
## tzdb "0.4.0" NA
## utf8 "1.2.4" NA
## vctrs "0.6.5" NA
## viridis "0.6.5" NA
## viridisLite "0.4.2" NA
## vroom "1.6.5" NA
## waldo "0.5.2" NA
## withr "3.0.0" NA
## xfun "0.42" NA
## yaml "2.3.8" NA
## zip "2.3.1" NA
## zoo "1.8-12" NA
## base "4.3.3" "base"
## boot "1.3-29" "recommended"
## class "7.3-22" "recommended"
## cluster "2.1.6" "recommended"
## codetools "0.2-19" "recommended"
## compiler "4.3.3" "base"
## datasets "4.3.3" "base"
## foreign "0.8-86" "recommended"
## graphics "4.3.3" "base"
## grDevices "4.3.3" "base"
## grid "4.3.3" "base"
## KernSmooth "2.23-22" "recommended"
## lattice "0.22-5" "recommended"
## MASS "7.3-60.0.1" "recommended"
## Matrix "1.6-5" "recommended"
## methods "4.3.3" "base"
## mgcv "1.9-1" "recommended"
## nlme "3.1-164" "recommended"
## nnet "7.3-19" "recommended"
## parallel "4.3.3" "base"
## rpart "4.1.23" "recommended"
## spatial "7.3-17" "recommended"
## splines "4.3.3" "base"
## stats "4.3.3" "base"
## stats4 "4.3.3" "base"
## survival "3.5-8" "recommended"
## tcltk "4.3.3" "base"
## tools "4.3.3" "base"
## translations "4.3.3" NA
## utils "4.3.3" "base"
## Depends
## abind "R (>= 1.5.0)"
## aplpack "R (>= 3.0.0)"
## arm "R (>= 3.1.0), MASS, Matrix (>= 1.0), stats, lme4 (>= 1.0)"
## backports "R (>= 3.0.0)"
## base64enc "R (>= 2.9.0)"
## bit "R (>= 2.9.2)"
## bit64 "R (>= 3.0.1), bit (>= 4.0.0), utils, methods, stats"
## brio "R (>= 3.6)"
## broom "R (>= 3.5)"
## bslib "R (>= 2.10)"
## cachem NA
## callr "R (>= 3.4)"
## car "R (>= 3.5.0), carData (>= 3.0-0)"
## carData "R (>= 3.5.0)"
## cellranger "R (>= 3.0.0)"
## checkmate "R (>= 3.0.0)"
## cli "R (>= 3.4)"
## clipr NA
## coda "R (>= 2.14.0)"
## colorspace "R (>= 3.0.0), methods"
## commonmark NA
## cpp11 "R (>= 3.5.0)"
## crayon NA
## data.table "R (>= 3.1.0)"
## DBI "methods, R (>= 3.0.0)"
## desc "R (>= 3.4)"
## diffobj "R (>= 3.1.0)"
## digest "R (>= 3.3.0)"
## dplyr "R (>= 3.5.0)"
## e1071 NA
## effects "R (>= 3.5.0), carData"
## ellipsis "R (>= 3.2)"
## estimability "stats, R(>= 4.3.0)"
## evaluate "R (>= 3.0.2)"
## fansi "R (>= 3.1.0)"
## farver NA
## fastmap NA
## fontawesome "R (>= 3.3.0)"
## forcats "R (>= 3.4)"
## Formula "R (>= 2.0.0), stats"
## fs "R (>= 3.4)"
## generics "R (>= 3.2)"
## ggplot2 "R (>= 3.5)"
## glue "R (>= 3.6)"
## gridExtra NA
## gtable "R (>= 3.5)"
## haven "R (>= 3.6)"
## highr "R (>= 3.3.0)"
## Hmisc "R (>= 4.1.0)"
## hms NA
## htmlTable "R (>= 4.1)"
## htmltools "R (>= 2.14.1)"
## htmlwidgets NA
## insight "R (>= 3.6)"
## isoband NA
## jquerylib NA
## jsonlite "methods"
## knitr "R (>= 3.3.0)"
## labeling NA
## leaps ""
## lifecycle "R (>= 3.6)"
## lme4 "R (>= 3.5.0), Matrix (>= 1.2-1), methods, stats"
## lmtest "R (>= 3.0.0), stats, zoo"
## magrittr "R (>= 3.4.0)"
## markdown "R (>= 2.11.1)"
## MASS "R (>= 4.0), grDevices, graphics, stats, utils"
## MatrixModels "R (>= 3.6.0)"
## memoise NA
## mi "R (>= 3.0.0), methods, Matrix, stats4"
## mime NA
## minqa NA
## mitools NA
## multcomp "stats, graphics, mvtnorm (>= 1.0-10), survival (>= 2.39-4),\nTH.data (>= 1.0-2)"
## munsell NA
## mvtnorm "R(>= 3.5.0)"
## nloptr NA
## nortest NA
## numDeriv "R (>= 2.11.1)"
## openxlsx "R (>= 3.3.0)"
## pbkrtest "R (>= 4.1.0), lme4 (>= 1.1.31)"
## pillar NA
## pkgbuild "R (>= 3.5)"
## pkgconfig NA
## pkgload "R (>= 3.4.0)"
## praise NA
## prettyunits "R(>= 2.10)"
## processx "R (>= 3.4.0)"
## progress "R (>= 3.6)"
## proxy "R (>= 3.4.0)"
## ps "R (>= 3.4)"
## purrr "R (>= 3.5.0)"
## quantreg "R (>= 3.5), stats, SparseM"
## R6 "R (>= 3.0)"
## rappdirs "R (>= 3.2)"
## Rcmdr "R (>= 3.5.0), grDevices, graphics, methods, stats, utils,\nsplines, RcmdrMisc (>= 2.9-1), car (>= 3.1-0), effects (>=\n4.0-3)"
## RcmdrMisc "R (>= 3.5.0), utils, car (>= 3.0-0), sandwich"
## RColorBrewer "R (>= 2.0.0)"
## Rcpp NA
## RcppArmadillo "R (>= 3.3.0)"
## RcppEigen "R (>= 3.6.0)"
## readr "R (>= 3.6)"
## readstata13 NA
## readxl "R (>= 3.6)"
## relimp "R (>= 2.0.0)"
## rematch NA
## rematch2 NA
## rgl "R (>= 3.6.0)"
## rlang "R (>= 3.5.0)"
## rmarkdown "R (>= 3.0)"
## rprojroot "R (>= 3.0.0)"
## rstudioapi NA
## sandwich "R (>= 3.0.0)"
## sass NA
## scales "R (>= 3.6)"
## sem "R (>= 3.5.0), stats"
## SparseM "R (>= 2.15), methods"
## stringi "R (>= 3.4)"
## stringr "R (>= 3.6)"
## survey "R (>= 4.1.0), grid, methods, Matrix, survival"
## tcltk2 "R (>= 2.8.0), tcltk"
## testthat "R (>= 3.6.0)"
## TH.data "R (>= 3.5.0), survival, MASS"
## tibble "R (>= 3.4.0)"
## tidyr "R (>= 3.6)"
## tidyselect "R (>= 3.4)"
## tinytex NA
## tzdb "R (>= 3.5.0)"
## utf8 "R (>= 2.10)"
## vctrs "R (>= 3.5.0)"
## viridis "R (>= 2.10), viridisLite (>= 0.4.0)"
## viridisLite "R (>= 2.10)"
## vroom "R (>= 3.6)"
## waldo "R (>= 3.6)"
## withr "R (>= 3.5.0)"
## xfun NA
## yaml NA
## zip NA
## zoo "R (>= 3.1.0), stats"
## 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.0), grDevices, graphics, stats, utils"
## Matrix "R (>= 3.5.0), methods"
## methods NA
## mgcv "R (>= 3.6.0), nlme (>= 3.1-64)"
## nlme "R (>= 3.5.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
## abind "methods, utils"
## aplpack NA
## arm "abind, coda, graphics, grDevices, methods, nlme, utils"
## backports NA
## base64enc NA
## bit NA
## bit64 NA
## brio NA
## broom "backports, dplyr (>= 1.0.0), ellipsis, generics (>= 0.0.2),\nglue, lifecycle, purrr, rlang, stringr, tibble (>= 3.0.0),\ntidyr (>= 1.0.0)"
## bslib "base64enc, cachem, grDevices, htmltools (>= 0.5.7), jquerylib\n(>= 0.1.3), jsonlite, lifecycle, memoise (>= 2.0.1), mime,\nrlang, sass (>= 0.4.0)"
## cachem "rlang, fastmap (>= 1.1.1)"
## callr "processx (>= 3.6.1), R6, utils"
## car "abind, MASS, mgcv, nnet, pbkrtest (>= 0.4-4), quantreg,\ngrDevices, utils, stats, graphics, lme4 (>= 1.1-27.1), nlme,\nscales"
## carData NA
## cellranger "rematch, tibble"
## checkmate "backports (>= 1.1.0), utils"
## cli "utils"
## clipr "utils"
## coda "lattice"
## colorspace "graphics, grDevices, stats"
## commonmark NA
## cpp11 NA
## crayon "grDevices, methods, utils"
## data.table "methods"
## DBI NA
## desc "cli, R6, utils"
## diffobj "crayon (>= 1.3.2), tools, methods, utils, stats"
## digest "utils"
## dplyr "cli (>= 3.4.0), generics, glue (>= 1.3.2), lifecycle (>=\n1.0.3), magrittr (>= 1.5), methods, pillar (>= 1.9.0), R6,\nrlang (>= 1.1.0), tibble (>= 3.2.0), tidyselect (>= 1.2.0),\nutils, vctrs (>= 0.6.4)"
## e1071 "graphics, grDevices, class, stats, methods, utils, proxy"
## effects "lme4, nnet, lattice, grid, colorspace, graphics, grDevices,\nstats, survey, utils, estimability, insight"
## ellipsis "rlang (>= 0.3.0)"
## estimability NA
## evaluate "methods"
## fansi "grDevices, utils"
## farver NA
## fastmap NA
## fontawesome "rlang (>= 1.0.6), htmltools (>= 0.5.1.1)"
## forcats "cli (>= 3.4.0), glue, lifecycle, magrittr, rlang (>= 1.0.0),\ntibble"
## Formula NA
## fs "methods"
## generics "methods"
## ggplot2 "cli, glue, grDevices, grid, gtable (>= 0.1.1), isoband,\nlifecycle (> 1.0.1), MASS, mgcv, rlang (>= 1.1.0), scales (>=\n1.3.0), stats, tibble, vctrs (>= 0.5.0), withr (>= 2.5.0)"
## glue "methods"
## gridExtra "gtable, grid, grDevices, graphics, utils"
## gtable "cli, glue, grid, lifecycle, rlang (>= 1.1.0)"
## haven "cli (>= 3.0.0), forcats (>= 0.2.0), hms, lifecycle, methods,\nreadr (>= 0.1.0), rlang (>= 0.4.0), tibble, tidyselect, vctrs\n(>= 0.3.0)"
## highr "xfun (>= 0.18)"
## Hmisc "methods, ggplot2, cluster, rpart, nnet, foreign, gtable, grid,\ngridExtra, data.table, htmlTable (>= 1.11.0), viridis,\nhtmltools, base64enc, colorspace, rmarkdown, knitr, Formula"
## hms "lifecycle, methods, pkgconfig, rlang (>= 1.0.2), vctrs (>=\n0.3.8)"
## htmlTable "stringr, knitr (>= 1.6), magrittr (>= 1.5), methods,\ncheckmate, htmlwidgets, htmltools, rstudioapi (>= 0.6)"
## htmltools "base64enc, digest, ellipsis, fastmap (>= 1.1.0), grDevices,\nrlang (>= 1.0.0), utils"
## htmlwidgets "grDevices, htmltools (>= 0.5.7), jsonlite (>= 0.9.16), knitr\n(>= 1.8), rmarkdown, yaml"
## insight "methods, stats, utils"
## isoband "grid, utils"
## jquerylib "htmltools"
## jsonlite NA
## knitr "evaluate (>= 0.15), highr, methods, tools, xfun (>= 0.39),\nyaml (>= 2.1.19)"
## labeling "stats, graphics"
## leaps NA
## lifecycle "cli (>= 3.4.0), glue, rlang (>= 1.1.0)"
## lme4 "graphics, grid, splines, utils, parallel, MASS, lattice, boot,\nnlme (>= 3.1-123), minqa (>= 1.1.15), nloptr (>= 1.0.4)"
## lmtest "graphics"
## magrittr NA
## markdown "utils, commonmark (>= 1.9.0), xfun (>= 0.38)"
## MASS "methods"
## MatrixModels "stats, methods, Matrix (>= 1.6-0)"
## memoise "rlang (>= 0.4.10), cachem"
## mi "arm (>= 1.4-11)"
## mime "tools"
## minqa "Rcpp (>= 0.9.10)"
## mitools "DBI, methods, stats"
## multcomp "sandwich (>= 2.3-0), codetools"
## munsell "colorspace, methods"
## mvtnorm "stats"
## nloptr NA
## nortest "stats"
## numDeriv NA
## openxlsx "grDevices, methods, Rcpp, stats, stringi, utils, zip"
## pbkrtest "broom, dplyr, MASS, Matrix (>= 1.2.3), methods, numDeriv,\nparallel"
## pillar "cli (>= 2.3.0), fansi, glue, lifecycle, rlang (>= 1.0.2), utf8\n(>= 1.1.0), utils, vctrs (>= 0.5.0)"
## pkgbuild "callr (>= 3.2.0), cli (>= 3.4.0), desc, processx, R6"
## pkgconfig "utils"
## pkgload "cli (>= 3.3.0), crayon, desc, fs, glue, methods, pkgbuild,\nrlang (>= 1.1.1), rprojroot, utils, withr (>= 2.4.3)"
## praise NA
## prettyunits NA
## processx "ps (>= 1.2.0), R6, utils"
## progress "crayon, hms, prettyunits, R6"
## proxy "stats, utils"
## ps "utils"
## purrr "cli (>= 3.6.1), lifecycle (>= 1.0.3), magrittr (>= 1.5.0),\nrlang (>= 1.1.1), vctrs (>= 0.6.3)"
## quantreg "methods, graphics, Matrix, MatrixModels, survival, MASS"
## R6 NA
## rappdirs NA
## Rcmdr "tcltk, tcltk2 (>= 1.2-6), abind, relimp (>= 1.0-5), lme4,\ntools"
## RcmdrMisc "abind, colorspace, Hmisc (>= 4.1-0), MASS, e1071, foreign,\nhaven, readstata13, readxl, graphics, grDevices, stats,\nnortest, lattice"
## RColorBrewer NA
## Rcpp "methods, utils"
## RcppArmadillo "Rcpp (>= 0.11.0), stats, utils, methods"
## RcppEigen "Rcpp (>= 0.11.0), stats, utils"
## readr "cli (>= 3.2.0), clipr, crayon, hms (>= 0.4.1), lifecycle (>=\n0.2.0), methods, R6, rlang, tibble, utils, vroom (>= 1.6.0)"
## readstata13 "Rcpp (>= 0.11.5)"
## readxl "cellranger, tibble (>= 2.0.1), utils"
## relimp "stats, utils"
## rematch NA
## rematch2 "tibble"
## rgl "graphics, grDevices, stats, utils, htmlwidgets (>= 1.6.0),\nhtmltools, knitr (>= 1.33), jsonlite (>= 0.9.20), magrittr, R6,\nbase64enc, mime"
## rlang "utils"
## rmarkdown "bslib (>= 0.2.5.1), evaluate (>= 0.13), fontawesome (>=\n0.5.0), htmltools (>= 0.5.1), jquerylib, jsonlite, knitr (>=\n1.43), methods, tinytex (>= 0.31), tools, utils, xfun (>=\n0.36), yaml (>= 2.1.19)"
## rprojroot NA
## rstudioapi NA
## sandwich "stats, utils, zoo"
## sass "fs (>= 1.2.4), rlang (>= 0.4.10), htmltools (>= 0.5.1), R6,\nrappdirs"
## scales "cli, farver (>= 2.0.3), glue, labeling, lifecycle, munsell (>=\n0.5), R6, RColorBrewer, rlang (>= 1.0.0), viridisLite"
## sem "MASS, boot, mi (>= 0.9-99), utils"
## SparseM "graphics, stats, utils"
## 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)"
## survey "stats, graphics, splines, lattice, minqa, numDeriv, mitools\n(>= 2.4), Rcpp (>= 0.12.8)"
## tcltk2 NA
## testthat "brio (>= 1.1.3), callr (>= 3.7.3), cli (>= 3.6.1), desc (>=\n1.4.2), digest (>= 0.6.33), evaluate (>= 0.21), jsonlite (>=\n1.8.7), lifecycle (>= 1.0.3), magrittr (>= 2.0.3), methods,\npkgload (>= 1.3.2.1), praise (>= 1.0.0), processx (>= 3.8.2),\nps (>= 1.7.5), R6 (>= 2.5.1), rlang (>= 1.1.1), utils, waldo\n(>= 0.5.1), withr (>= 2.5.0)"
## TH.data NA
## tibble "fansi (>= 0.4.0), lifecycle (>= 1.0.0), magrittr, methods,\npillar (>= 1.8.1), pkgconfig, rlang (>= 1.0.2), utils, vctrs\n(>= 0.4.2)"
## tidyr "cli (>= 3.4.1), dplyr (>= 1.0.10), glue, lifecycle (>= 1.0.3),\nmagrittr, purrr (>= 1.0.1), rlang (>= 1.1.1), stringr (>=\n1.5.0), tibble (>= 2.1.1), tidyselect (>= 1.2.0), utils, vctrs\n(>= 0.5.2)"
## tidyselect "cli (>= 3.3.0), glue (>= 1.3.0), lifecycle (>= 1.0.3), rlang\n(>= 1.0.4), vctrs (>= 0.5.2), withr"
## tinytex "xfun (>= 0.29)"
## tzdb NA
## utf8 NA
## vctrs "cli (>= 3.4.0), glue, lifecycle (>= 1.0.3), rlang (>= 1.1.0)"
## viridis "ggplot2 (>= 1.0.1), gridExtra"
## viridisLite NA
## vroom "bit64, cli (>= 3.2.0), crayon, glue, hms, lifecycle (>=\n1.0.3), methods, rlang (>= 0.4.2), stats, tibble (>= 2.0.0),\ntidyselect, tzdb (>= 0.1.1), vctrs (>= 0.2.0), withr"
## waldo "cli, diffobj (>= 0.3.4), fansi, glue, methods, rematch2, rlang\n(>= 1.0.0), tibble"
## withr "graphics, grDevices,"
## xfun "grDevices, stats, tools"
## yaml NA
## zip NA
## zoo "utils, graphics, grDevices, lattice (>= 0.20-27)"
## 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
## abind NA
## aplpack NA
## arm NA
## backports NA
## base64enc NA
## bit NA
## bit64 NA
## brio NA
## broom NA
## bslib NA
## cachem NA
## callr NA
## car NA
## carData NA
## cellranger NA
## checkmate NA
## cli NA
## clipr NA
## coda NA
## colorspace NA
## commonmark NA
## cpp11 NA
## crayon NA
## data.table NA
## DBI NA
## desc NA
## diffobj NA
## digest NA
## dplyr NA
## e1071 NA
## effects NA
## ellipsis NA
## estimability NA
## evaluate NA
## fansi NA
## farver NA
## fastmap NA
## fontawesome NA
## forcats NA
## Formula NA
## fs NA
## generics NA
## ggplot2 NA
## glue NA
## gridExtra NA
## gtable NA
## haven "cpp11"
## highr NA
## Hmisc NA
## hms NA
## htmlTable NA
## htmltools NA
## htmlwidgets NA
## insight NA
## isoband NA
## jquerylib NA
## jsonlite NA
## knitr NA
## labeling NA
## leaps NA
## lifecycle NA
## lme4 "Rcpp (>= 0.10.5), RcppEigen (>= 0.3.3.9.4), Matrix"
## lmtest NA
## magrittr NA
## markdown NA
## MASS NA
## MatrixModels NA
## memoise NA
## mi NA
## mime NA
## minqa "Rcpp"
## mitools NA
## multcomp NA
## munsell NA
## mvtnorm NA
## nloptr "testthat"
## nortest NA
## numDeriv NA
## openxlsx "Rcpp"
## pbkrtest NA
## pillar NA
## pkgbuild NA
## pkgconfig NA
## pkgload NA
## praise NA
## prettyunits NA
## processx NA
## progress NA
## proxy NA
## ps NA
## purrr "cli"
## quantreg NA
## R6 NA
## rappdirs NA
## Rcmdr NA
## RcmdrMisc NA
## RColorBrewer NA
## Rcpp NA
## RcppArmadillo "Rcpp"
## RcppEigen "Rcpp"
## readr "cpp11, tzdb (>= 0.1.1)"
## readstata13 "Rcpp"
## readxl "cpp11 (>= 0.4.0), progress"
## relimp NA
## rematch NA
## rematch2 NA
## rgl NA
## rlang NA
## rmarkdown NA
## rprojroot NA
## rstudioapi NA
## sandwich NA
## sass NA
## scales NA
## sem NA
## SparseM NA
## stringi NA
## stringr NA
## survey "Rcpp, RcppArmadillo"
## tcltk2 NA
## testthat NA
## TH.data NA
## tibble NA
## tidyr "cpp11 (>= 0.4.0)"
## tidyselect NA
## tinytex NA
## tzdb "cpp11 (>= 0.4.2)"
## utf8 NA
## vctrs NA
## viridis NA
## viridisLite NA
## vroom "cpp11 (>= 0.2.0), progress (>= 1.2.1), tzdb (>= 0.1.1)"
## waldo NA
## withr NA
## xfun NA
## yaml NA
## zip NA
## zoo 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
## abind NA
## aplpack "tkrplot, jpeg, png, splines, utils, tcltk"
## arm NA
## backports NA
## base64enc NA
## bit "testthat (>= 0.11.0), roxygen2, knitr, rmarkdown,\nmicrobenchmark, bit64 (>= 4.0.0), ff (>= 4.0.0)"
## bit64 NA
## brio "covr, testthat (>= 3.0.0)"
## broom "AER, AUC, bbmle, betareg, biglm, binGroup, boot, btergm (>=\n1.10.6), car, carData, caret, cluster, cmprsk, coda, covr, drc,\ne1071, emmeans, epiR, ergm (>= 3.10.4), fixest (>= 0.9.0), gam\n(>= 1.15), gee, geepack, ggplot2, glmnet, glmnetUtils, gmm,\nHmisc, irlba, interp, joineRML, Kendall, knitr, ks, Lahman,\nlavaan, leaps, lfe, lm.beta, lme4, lmodel2, lmtest (>= 0.9.38),\nlsmeans, maps, margins, MASS, mclust, mediation, metafor, mfx,\nmgcv, mlogit, modeldata, modeltests, muhaz, multcomp, network,\nnnet, orcutt (>= 2.2), ordinal, plm, poLCA, psych, quantreg,\nrmarkdown, robust, robustbase, rsample, sandwich, sp, spdep (>=\n1.1), spatialreg, speedglm, spelling, survey, survival,\nsystemfit, testthat (>= 2.1.0), tseries, vars, zoo"
## bslib "bsicons, curl, fontawesome, ggplot2, knitr, magrittr,\nrappdirs, rmarkdown (>= 2.7), shiny (>= 1.8.0), testthat,\nthematic, withr"
## cachem "testthat"
## callr "asciicast (>= 2.3.1), cli (>= 1.1.0), covr, mockery, ps,\nrprojroot, spelling, testthat (>= 3.2.0), withr (>= 2.3.0)"
## car "alr4, boot, coxme, effects, knitr, leaps, lmtest, Matrix,\nMatrixModels, mvtnorm, rgl (>= 0.111.3), rio, sandwich,\nSparseM, survival, survey"
## carData "car (>= 3.0-0)"
## cellranger "covr, testthat (>= 1.0.0), knitr, rmarkdown"
## checkmate "R6, fastmatch, data.table (>= 1.9.8), devtools, ggplot2,\nknitr, magrittr, microbenchmark, rmarkdown, testthat (>=\n3.0.4), tinytest (>= 1.1.0), tibble"
## cli "callr, covr, crayon, digest, glue (>= 1.6.0), grDevices,\nhtmltools, htmlwidgets, knitr, methods, mockery, processx, ps\n(>= 1.3.4.9000), rlang (>= 1.0.2.9003), rmarkdown, rprojroot,\nrstudioapi, testthat, tibble, whoami, withr"
## clipr "covr, knitr, rmarkdown, rstudioapi (>= 0.5), testthat (>=\n2.0.0)"
## coda NA
## colorspace "datasets, utils, KernSmooth, MASS, kernlab, mvtnorm, vcd,\ntcltk, shiny, shinyjs, ggplot2, dplyr, scales, grid, png, jpeg,\nknitr, rmarkdown, RColorBrewer, rcartocolor, scico, viridis,\nwesanderson"
## commonmark "curl, testthat, xml2"
## 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"
## crayon "mockery, rstudioapi, testthat, withr"
## data.table "bit64 (>= 4.0.0), bit (>= 4.0.4), R.utils, xts, zoo (>=\n1.8-1), yaml, knitr, markdown"
## DBI "arrow, blob, covr, DBItest, dbplyr, downlit, dplyr, glue,\nhms, knitr, magrittr, nanoarrow (>= 0.3.0.1), RMariaDB,\nrmarkdown, rprojroot, RSQLite (>= 1.1-2), testthat (>= 3.0.0),\nvctrs, xml2"
## desc "callr, covr, gh, spelling, testthat, whoami, withr"
## diffobj "knitr, rmarkdown"
## digest "tinytest, simplermarkdown"
## dplyr "bench, broom, callr, covr, DBI, dbplyr (>= 2.2.1), ggplot2,\nknitr, Lahman, lobstr, microbenchmark, nycflights13, purrr,\nrmarkdown, RMySQL, RPostgreSQL, RSQLite, stringi (>= 1.7.6),\ntestthat (>= 3.1.5), tidyr (>= 1.3.0), withr"
## e1071 "cluster, mlbench, nnet, randomForest, rpart, SparseM, xtable,\nMatrix, MASS, slam"
## effects "pbkrtest (>= 0.4-4), nlme, MASS, poLCA, heplots, splines,\nordinal, car, knitr, betareg, alr4, robustlmm"
## ellipsis "covr, testthat"
## estimability "knitr, rmarkdown"
## evaluate "covr, ggplot2, lattice, rlang, testthat (>= 3.0.0), withr"
## fansi "unitizer, knitr, rmarkdown"
## farver "covr, testthat (>= 3.0.0)"
## fastmap "testthat (>= 2.1.1)"
## fontawesome "covr, dplyr (>= 1.0.8), knitr (>= 1.31), testthat (>= 3.0.0),\nrsvg"
## forcats "covr, dplyr, ggplot2, knitr, readr, rmarkdown, testthat (>=\n3.0.0), withr"
## Formula NA
## fs "covr, crayon, knitr, pillar (>= 1.0.0), rmarkdown, spelling,\ntestthat (>= 3.0.0), tibble (>= 1.1.0), vctrs (>= 0.3.0), withr"
## generics "covr, pkgload, testthat (>= 3.0.0), tibble, withr"
## ggplot2 "covr, dplyr, ggplot2movies, hexbin, Hmisc, knitr, mapproj,\nmaps, multcomp, munsell, nlme, profvis, quantreg, ragg (>=\n1.2.6), RColorBrewer, rmarkdown, rpart, sf (>= 0.7-3), svglite\n(>= 2.1.2), testthat (>= 3.1.2), vdiffr (>= 1.0.6), xml2"
## glue "crayon, DBI (>= 1.2.0), dplyr, knitr, magrittr, rlang,\nrmarkdown, RSQLite, testthat (>= 3.2.0), vctrs (>= 0.3.0),\nwaldo (>= 0.3.0), withr"
## gridExtra "ggplot2, egg, lattice, knitr, testthat"
## gtable "covr, ggplot2, knitr, profvis, rmarkdown, testthat (>= 3.0.0)"
## haven "covr, crayon, fs, knitr, pillar (>= 1.4.0), rmarkdown,\ntestthat (>= 3.0.0), utf8"
## highr "knitr, markdown, testit"
## Hmisc "survival, qreport, acepack, chron, rms, mice, rstudioapi,\ntables, plotly (>= 4.5.6), rlang, plyr, VGAM, leaps, pcaPP,\ndigest, parallel, polspline, abind, kableExtra, rio, lattice,\nlatticeExtra, gt, sparkline, jsonlite, htmlwidgets, qs,\ngetPass, keyring, safer, htm2txt"
## hms "crayon, lubridate, pillar (>= 1.1.0), testthat (>= 3.0.0)"
## htmlTable "testthat, XML, xml2, Hmisc, rmarkdown, chron, lubridate,\ntibble, purrr, tidyselect, glue, rlang, tidyr (>= 0.7.2), dplyr\n(>= 0.7.4)"
## htmltools "Cairo, markdown, ragg, shiny, testthat, withr"
## htmlwidgets "testthat"
## insight "AER, afex, aod, BayesFactor, bayestestR, bbmle, bdsmatrix,\nbetareg, bife, biglm, blavaan, blme, boot, brms, broom, car,\ncarData, censReg, cgam, clubSandwich, coxme, cplm, crch, curl,\ndatawizard, effectsize, emmeans, epiR, estimatr, feisr, fixest\n(>= 0.11.2), fungible, gam, gamlss, gamlss.data, gamm4, gbm,\ngee, geepack, geoR, ggeffects, GLMMadaptive, glmmTMB, gmnl,\ngrDevices, gt, httr, interp, ivreg, JM, knitr, lavaan,\nlavaSearch2, lfe, lme4, lmerTest, lmtest, logistf, logitr,\nMASS, marginaleffects, Matrix, mclogit, mclust, MCMCglmm,\nmerTools, metaBMA, metadat, metafor, metaplus, mgcv, mice,\nmlogit, mhurdle, mmrm, modelbased, multgee, MuMIn, nestedLogit,\nnlme, nnet, nonnest2, ordinal, panelr, parameters, parsnip,\npbkrtest, performance, plm, poorman, pscl, psych, quantreg,\nRcpp, rmarkdown, rms, rpart, robustbase, robustlmm, rstanarm\n(>= 2.21.1), rstantools (>= 2.1.0), rstudioapi, sandwich,\nspeedglm, splines, statmod, survey, survival, testthat,\ntinytable, truncreg, tweedie, TMB, VGAM, withr"
## isoband "covr, ggplot2, knitr, magick, microbenchmark, rmarkdown, sf,\ntestthat, xml2"
## jquerylib "testthat"
## jsonlite "httr, vctrs, testthat, knitr, rmarkdown, R.rsp, sf"
## knitr "bslib, codetools, DBI (>= 0.4-1), digest, formatR, gifski,\ngridSVG, htmlwidgets (>= 0.7), curl, jpeg, JuliaCall (>=\n0.11.1), magick, markdown (>= 1.3), png, ragg, reticulate (>=\n1.4), rgl (>= 0.95.1201), rlang, rmarkdown, sass, showtext,\nstyler (>= 1.2.0), targets (>= 0.6.0), testit, tibble,\ntikzDevice (>= 0.10), tinytex (>= 0.46), webshot, rstudioapi,\nsvglite, xml2 (>= 1.2.0)"
## labeling NA
## leaps "biglm"
## lifecycle "covr, crayon, knitr, lintr, rmarkdown, testthat (>= 3.0.1),\ntibble, tidyverse, tools, vctrs, withr"
## lme4 "knitr, rmarkdown, MEMSS, testthat (>= 0.8.1), ggplot2,\nmlmRev, optimx (>= 2013.8.6), gamm4, pbkrtest, HSAUR3,\nnumDeriv, car, dfoptim, mgcv, statmod, rr2, semEff, tibble,\nmerDeriv"
## lmtest "car, strucchange, sandwich, dynlm, stats4, survival, AER"
## magrittr "covr, knitr, rlang, rmarkdown, testthat"
## markdown "knitr, rmarkdown (>= 2.18), yaml, RCurl"
## MASS "lattice, nlme, nnet, survival"
## MatrixModels NA
## memoise "digest, aws.s3, covr, googleAuthR, googleCloudStorageR, httr,\ntestthat"
## mi "betareg, lattice, knitr, MASS, nnet, parallel, sn, survival,\ntruncnorm, foreign"
## mime NA
## minqa NA
## mitools "RODBC, foreign"
## multcomp "lme4 (>= 0.999375-16), nlme, robustbase, coin, MASS, foreign,\nxtable, lmtest, coxme (>= 2.2-1), SimComp, ISwR, tram (>=\n0.2-5), fixest (>= 0.10), glmmTMB"
## munsell "ggplot2, testthat"
## mvtnorm "qrng, numDeriv"
## nloptr "knitr, rmarkdown, xml2, testthat (>= 3.0.0), covr"
## nortest NA
## numDeriv NA
## openxlsx "knitr, rmarkdown, roxygen2, testthat"
## pbkrtest "knitr"
## pillar "bit64, DBI, debugme, DiagrammeR, dplyr, formattable, ggplot2,\nknitr, lubridate, nanotime, nycflights13, palmerpenguins,\nrmarkdown, scales, stringi, survival, testthat (>= 3.1.1),\ntibble, units (>= 0.7.2), vdiffr, withr"
## pkgbuild "covr, cpp11, knitr, mockery, Rcpp, rmarkdown, testthat (>=\n3.0.0), withr (>= 2.3.0)"
## pkgconfig "covr, testthat, disposables (>= 1.0.3)"
## pkgload "bitops, covr, mathjaxr, mockr, pak, Rcpp, remotes,\nrstudioapi, testthat (>= 3.1.0)"
## praise "testthat"
## prettyunits "codetools, covr, testthat"
## processx "callr (>= 3.7.3), cli (>= 3.3.0), codetools, covr, curl,\ndebugme, parallel, rlang (>= 1.0.2), testthat (>= 3.0.0),\nwebfakes, withr"
## progress "Rcpp, testthat (>= 3.0.0), withr"
## proxy "cba"
## ps "callr, covr, curl, pillar, pingr, processx (>= 3.1.0), R6,\nrlang, testthat (>= 3.0.0), webfakes"
## purrr "covr, dplyr (>= 0.7.8), httr, knitr, lubridate, rmarkdown,\ntestthat (>= 3.0.0), tibble, tidyselect"
## quantreg "interp, rgl, logspline, nor1mix, Formula, zoo, R.rsp, conquer"
## R6 "testthat, pryr"
## rappdirs "roxygen2, testthat (>= 3.0.0), covr, withr"
## Rcmdr "aplpack, boot, colorspace, e1071, foreign, grid, Hmisc,\nknitr, lattice, leaps, lmtest, markdown, MASS, mgcv, multcomp\n(>= 0.991-2), nlme, nnet, nortest, readxl, rgl (>= 0.110.2),\nrmarkdown (>= 0.9.5), sem (>= 2.1-1)"
## RcmdrMisc "boot, datasets, carData"
## RColorBrewer NA
## Rcpp "tinytest, inline, rbenchmark, pkgKitten (>= 0.1.2)"
## RcppArmadillo "tinytest, Matrix (>= 1.3.0), pkgKitten, reticulate, slam"
## RcppEigen "Matrix, inline, tinytest, pkgKitten, microbenchmark"
## readr "covr, curl, datasets, knitr, rmarkdown, spelling, stringi,\ntestthat (>= 3.2.0), tzdb (>= 0.1.1), waldo, withr, xml2"
## readstata13 "testthat"
## readxl "covr, knitr, rmarkdown, testthat (>= 3.1.6), withr"
## relimp "tcltk, nnet, MASS, Rcmdr"
## rematch "covr, testthat"
## rematch2 "covr, testthat"
## rgl "MASS, markdown (>= 1.12), rmarkdown (>= 2.16), deldir (>=\n1.0-4), orientlib, lattice, misc3d, magick, plotrix (>= 3.7-3),\ntripack, interp, alphashape3d, tcltk, js (>= 1.2), webshot2 (>=\n0.1.0), downlit (>= 0.4.0), pkgdown (>= 2.0.0), extrafont,\nshiny, manipulateWidget (>= 0.9.0), testthat, crosstalk, V8,\nchromote, jpeg, png"
## rlang "cli (>= 3.1.0), covr, crayon, fs, glue, knitr, magrittr,\nmethods, pillar, rmarkdown, stats, testthat (>= 3.0.0), tibble,\nusethis, 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)"
## rprojroot "covr, knitr, lifecycle, mockr, rlang, rmarkdown, testthat (>=\n3.0.0), withr"
## rstudioapi "testthat, knitr, rmarkdown, clipr, covr"
## sandwich "AER, car, geepack, lattice, lme4, lmtest, MASS, multiwayvcov,\nparallel, pcse, plm, pscl, scatterplot3d, stats4, strucchange,\nsurvival"
## sass "testthat, knitr, rmarkdown, withr, shiny, curl"
## scales "bit64, covr, dichromat, ggplot2, hms (>= 0.5.0), stringi,\ntestthat (>= 3.0.0)"
## sem "polycor, DiagrammeR (>= 1.0.9)"
## SparseM NA
## stringi NA
## stringr "covr, dplyr, gt, htmltools, htmlwidgets, knitr, rmarkdown,\ntestthat (>= 3.0.0), tibble"
## survey "foreign, MASS, KernSmooth, hexbin, RSQLite, quantreg,\nparallel, CompQuadForm, DBI, AER, SUMMER (>= 1.4.0), R.rsp"
## tcltk2 "utils"
## testthat "covr, curl (>= 0.9.5), diffviewer (>= 0.1.0), knitr,\nrmarkdown, rstudioapi, shiny, usethis, vctrs (>= 0.1.0), xml2"
## TH.data "trtf, tram, rms, coin, ATR, multcomp, gridExtra, vcd,\ncolorspace, lattice, knitr"
## tibble "bench, bit64, blob, brio, callr, cli, covr, crayon (>=\n1.3.4), DiagrammeR, dplyr, evaluate, formattable, ggplot2,\nhere, hms, htmltools, knitr, lubridate, mockr, nycflights13,\npkgbuild, pkgload, purrr, rmarkdown, stringi, testthat (>=\n3.0.2), tidyr, withr"
## tidyr "covr, data.table, knitr, readr, repurrrsive (>= 1.1.0),\nrmarkdown, testthat (>= 3.0.0)"
## tidyselect "covr, crayon, dplyr, knitr, magrittr, rmarkdown, stringr,\ntestthat (>= 3.1.1), tibble (>= 2.1.3)"
## tinytex "testit, rstudioapi"
## tzdb "covr, testthat (>= 3.0.0)"
## utf8 "cli, covr, knitr, rlang, rmarkdown, testthat (>= 3.0.0),\nwithr"
## 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"
## viridis "hexbin (>= 1.27.0), scales, MASS, knitr, dichromat,\ncolorspace, httr, mapproj, vdiffr, svglite (>= 1.2.0),\ntestthat, covr, rmarkdown, maps, terra"
## viridisLite "hexbin (>= 1.27.0), ggplot2 (>= 1.0.1), testthat, covr"
## vroom "archive, bench (>= 1.1.0), covr, curl, dplyr, forcats, fs,\nggplot2, knitr, patchwork, prettyunits, purrr, rmarkdown,\nrstudioapi, scales, spelling, testthat (>= 2.1.0), tidyr,\nutils, waldo, xml2"
## waldo "covr, R6, testthat (>= 3.0.0), withr, xml2"
## withr "callr, covr, DBI, knitr, lattice, methods, rlang, rmarkdown\n(>= 2.12), RSQLite, testthat (>= 3.0.0)"
## xfun "testit, parallel, codetools, rstudioapi, tinytex (>= 0.30),\nmime, markdown (>= 1.5), knitr (>= 1.42), htmltools, remotes,\npak, rhub, renv, curl, jsonlite, magick, yaml, rmarkdown"
## yaml "RUnit"
## zip "covr, processx, R6, testthat, withr"
## zoo "AER, coda, chron, ggplot2 (>= 3.0.0), mondate, scales,\nstinepack, strucchange, timeDate, timeSeries, tis, tseries, xts"
## 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 "Hmisc, 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,\nmathjaxr, V8"
## translations NA
## utils "methods, xml2, commonmark, knitr"
## Enhances
## abind NA
## aplpack NA
## arm NA
## backports NA
## base64enc "png"
## bit NA
## bit64 NA
## brio NA
## broom NA
## bslib NA
## cachem NA
## callr NA
## car NA
## carData NA
## cellranger NA
## checkmate NA
## cli NA
## clipr NA
## coda NA
## colorspace NA
## commonmark NA
## cpp11 NA
## crayon NA
## data.table NA
## DBI NA
## desc NA
## diffobj NA
## digest NA
## dplyr NA
## e1071 NA
## effects NA
## ellipsis NA
## estimability NA
## evaluate NA
## fansi NA
## farver NA
## fastmap NA
## fontawesome NA
## forcats NA
## Formula NA
## fs NA
## generics NA
## ggplot2 "sp"
## glue NA
## gridExtra NA
## gtable NA
## haven NA
## highr NA
## Hmisc NA
## hms NA
## htmlTable NA
## htmltools "knitr"
## htmlwidgets "shiny (>= 1.1)"
## insight NA
## isoband NA
## jquerylib NA
## jsonlite NA
## knitr NA
## labeling NA
## leaps NA
## lifecycle NA
## lme4 NA
## lmtest NA
## magrittr NA
## markdown NA
## MASS NA
## MatrixModels NA
## memoise NA
## mi NA
## mime NA
## minqa NA
## mitools NA
## multcomp NA
## munsell NA
## mvtnorm NA
## nloptr NA
## nortest NA
## numDeriv NA
## openxlsx NA
## pbkrtest NA
## pillar NA
## pkgbuild NA
## pkgconfig NA
## pkgload NA
## praise NA
## prettyunits NA
## processx NA
## progress NA
## proxy NA
## ps NA
## purrr NA
## quantreg NA
## R6 NA
## rappdirs NA
## Rcmdr NA
## RcmdrMisc NA
## RColorBrewer NA
## Rcpp NA
## RcppArmadillo NA
## RcppEigen NA
## readr NA
## readstata13 NA
## readxl NA
## relimp NA
## rematch NA
## rematch2 NA
## rgl "waldo"
## rlang "winch"
## rmarkdown NA
## rprojroot NA
## rstudioapi NA
## sandwich NA
## sass NA
## scales NA
## sem NA
## SparseM NA
## stringi NA
## stringr NA
## survey NA
## tcltk2 NA
## testthat NA
## TH.data NA
## tibble NA
## tidyr NA
## tidyselect NA
## tinytex NA
## tzdb NA
## utf8 NA
## vctrs NA
## viridis NA
## viridisLite NA
## vroom NA
## waldo NA
## withr NA
## xfun NA
## yaml NA
## zip NA
## zoo NA
## base NA
## boot NA
## class NA
## cluster "mvoutlier, fpc, ellipse, sfsmisc"
## codetools NA
## compiler NA
## datasets NA
## foreign NA
## graphics NA
## 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"
## rpart NA
## spatial NA
## splines NA
## stats NA
## stats4 NA
## survival NA
## tcltk NA
## tools NA
## translations NA
## utils NA
## License License_is_FOSS
## abind "LGPL (>= 2)" NA
## aplpack "GPL (>= 2)" NA
## arm "GPL (> 2)" NA
## backports "GPL-2 | GPL-3" NA
## base64enc "GPL-2 | GPL-3" NA
## bit "GPL-2 | GPL-3" NA
## bit64 "GPL-2 | GPL-3" NA
## brio "MIT + file LICENSE" NA
## broom "MIT + file LICENSE" NA
## bslib "MIT + file LICENSE" NA
## cachem "MIT + file LICENSE" NA
## callr "MIT + file LICENSE" NA
## car "GPL (>= 2)" NA
## carData "GPL (>= 2)" NA
## cellranger "MIT + file LICENSE" NA
## checkmate "BSD_3_clause + file LICENSE" NA
## cli "MIT + file LICENSE" NA
## clipr "GPL-3" NA
## coda "GPL (>= 2)" NA
## colorspace "BSD_3_clause + file LICENSE" NA
## commonmark "BSD_2_clause + file LICENSE" NA
## cpp11 "MIT + file LICENSE" NA
## crayon "MIT + file LICENSE" NA
## data.table "MPL-2.0 | file LICENSE" NA
## DBI "LGPL (>= 2.1)" NA
## desc "MIT + file LICENSE" NA
## diffobj "GPL-2 | GPL-3" NA
## digest "GPL (>= 2)" NA
## dplyr "MIT + file LICENSE" NA
## e1071 "GPL-2 | GPL-3" NA
## effects "GPL (>= 2)" NA
## ellipsis "MIT + file LICENSE" NA
## estimability "GPL (>= 3)" NA
## evaluate "MIT + file LICENSE" NA
## fansi "GPL-2 | GPL-3" NA
## farver "MIT + file LICENSE" NA
## fastmap "MIT + file LICENSE" NA
## fontawesome "MIT + file LICENSE" NA
## forcats "MIT + file LICENSE" NA
## Formula "GPL-2 | GPL-3" NA
## fs "MIT + file LICENSE" NA
## generics "MIT + file LICENSE" NA
## ggplot2 "MIT + file LICENSE" NA
## glue "MIT + file LICENSE" NA
## gridExtra "GPL (>= 2)" NA
## gtable "MIT + file LICENSE" NA
## haven "MIT + file LICENSE" NA
## highr "GPL" NA
## Hmisc "GPL (>= 2)" NA
## hms "MIT + file LICENSE" NA
## htmlTable "GPL (>= 3)" NA
## htmltools "GPL (>= 2)" NA
## htmlwidgets "MIT + file LICENSE" NA
## insight "GPL-3" NA
## isoband "MIT + file LICENSE" NA
## jquerylib "MIT + file LICENSE" NA
## jsonlite "MIT + file LICENSE" NA
## knitr "GPL" NA
## labeling "MIT + file LICENSE | Unlimited" NA
## leaps "GPL (>= 2)" NA
## lifecycle "MIT + file LICENSE" NA
## lme4 "GPL (>= 2)" NA
## lmtest "GPL-2 | GPL-3" NA
## magrittr "MIT + file LICENSE" NA
## markdown "MIT + file LICENSE" NA
## MASS "GPL-2 | GPL-3" NA
## MatrixModels "GPL (>= 2)" NA
## memoise "MIT + file LICENSE" NA
## mi "GPL (>= 2)" NA
## mime "GPL" NA
## minqa "GPL-2" NA
## mitools "GPL-2" NA
## multcomp "GPL-2" NA
## munsell "MIT + file LICENSE" NA
## mvtnorm "GPL-2" NA
## nloptr "LGPL (>= 3)" NA
## nortest "GPL (>= 2)" NA
## numDeriv "GPL-2" NA
## openxlsx "MIT + file LICENSE" NA
## pbkrtest "GPL (>= 2)" NA
## pillar "MIT + file LICENSE" NA
## pkgbuild "MIT + file LICENSE" NA
## pkgconfig "MIT + file LICENSE" NA
## pkgload "GPL-3" NA
## praise "MIT + file LICENSE" NA
## prettyunits "MIT + file LICENSE" NA
## processx "MIT + file LICENSE" NA
## progress "MIT + file LICENSE" NA
## proxy "GPL-2" NA
## ps "MIT + file LICENSE" NA
## purrr "MIT + file LICENSE" NA
## quantreg "GPL (>= 2)" NA
## R6 "MIT + file LICENSE" NA
## rappdirs "MIT + file LICENSE" NA
## Rcmdr "GPL (>= 2)" NA
## RcmdrMisc "GPL (>= 2)" NA
## RColorBrewer "Apache License 2.0" NA
## Rcpp "GPL (>= 2)" NA
## RcppArmadillo "GPL (>= 2)" NA
## RcppEigen "GPL (>= 2) | file LICENSE" NA
## readr "MIT + file LICENSE" NA
## readstata13 "GPL-2 | file LICENSE" NA
## readxl "MIT + file LICENSE" NA
## relimp "GPL (>= 2)" NA
## rematch "MIT + file LICENSE" NA
## rematch2 "MIT + file LICENSE" NA
## rgl "GPL" NA
## rlang "MIT + file LICENSE" NA
## rmarkdown "GPL-3" NA
## rprojroot "MIT + file LICENSE" NA
## rstudioapi "MIT + file LICENSE" NA
## sandwich "GPL-2 | GPL-3" NA
## sass "MIT + file LICENSE" NA
## scales "MIT + file LICENSE" NA
## sem "GPL (>= 2)" NA
## SparseM "GPL (>= 2)" NA
## stringi "file LICENSE" "yes"
## stringr "MIT + file LICENSE" NA
## survey "GPL-2 | GPL-3" NA
## tcltk2 "LGPL-3 + file LICENSE" NA
## testthat "MIT + file LICENSE" NA
## TH.data "GPL-3" NA
## tibble "MIT + file LICENSE" NA
## tidyr "MIT + file LICENSE" NA
## tidyselect "MIT + file LICENSE" NA
## tinytex "MIT + file LICENSE" NA
## tzdb "MIT + file LICENSE" NA
## utf8 "Apache License (== 2.0) | file LICENSE" NA
## vctrs "MIT + file LICENSE" NA
## viridis "MIT + file LICENSE" NA
## viridisLite "MIT + file LICENSE" NA
## vroom "MIT + file LICENSE" NA
## waldo "MIT + file LICENSE" NA
## withr "MIT + file LICENSE" NA
## xfun "MIT + file LICENSE" NA
## yaml "BSD_3_clause + file LICENSE" NA
## zip "MIT + file LICENSE" NA
## zoo "GPL-2 | GPL-3" NA
## base "Part of R 4.3.3" NA
## boot "Unlimited" NA
## class "GPL-2 | GPL-3" NA
## cluster "GPL (>= 2)" NA
## codetools "GPL" NA
## compiler "Part of R 4.3.3" NA
## datasets "Part of R 4.3.3" NA
## foreign "GPL (>= 2)" NA
## graphics "Part of R 4.3.3" NA
## grDevices "Part of R 4.3.3" NA
## grid "Part of R 4.3.3" 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.3.3" NA
## mgcv "GPL (>= 2)" NA
## nlme "GPL (>= 2)" NA
## nnet "GPL-2 | GPL-3" NA
## parallel "Part of R 4.3.3" NA
## rpart "GPL-2 | GPL-3" NA
## spatial "GPL-2 | GPL-3" NA
## splines "Part of R 4.3.3" NA
## stats "Part of R 4.3.3" NA
## stats4 "Part of R 4.3.3" NA
## survival "LGPL (>= 2)" NA
## tcltk "Part of R 4.3.3" NA
## tools "Part of R 4.3.3" NA
## translations "Part of R 4.3.3" NA
## utils "Part of R 4.3.3" NA
## License_restricts_use OS_type MD5sum NeedsCompilation Built
## abind NA NA NA "no" "4.3.1"
## aplpack NA NA NA "no" "4.3.1"
## arm NA NA NA "no" "4.3.3"
## backports NA NA NA "yes" "4.3.1"
## base64enc NA NA NA "yes" "4.3.1"
## bit NA NA NA "yes" "4.3.3"
## bit64 NA NA NA "yes" "4.3.3"
## brio NA NA NA "yes" "4.3.3"
## broom NA NA NA "no" "4.3.3"
## bslib NA NA NA "no" "4.3.3"
## cachem NA NA NA "yes" "4.3.3"
## callr NA NA NA "no" "4.3.3"
## car NA NA NA "no" "4.3.3"
## carData NA NA NA "no" "4.3.3"
## cellranger NA NA NA "no" "4.3.3"
## checkmate NA NA NA "yes" "4.3.3"
## cli NA NA NA "yes" "4.3.3"
## clipr NA NA NA "no" "4.3.3"
## coda NA NA NA "no" "4.3.3"
## colorspace NA NA NA "yes" "4.3.3"
## commonmark NA NA NA "yes" "4.3.3"
## cpp11 NA NA NA "no" "4.3.3"
## crayon NA NA NA "no" "4.3.3"
## data.table NA NA NA "yes" "4.3.3"
## DBI NA NA NA "no" "4.3.3"
## desc NA NA NA "no" "4.3.3"
## diffobj NA NA NA "yes" "4.3.3"
## digest NA NA NA "yes" "4.3.3"
## dplyr NA NA NA "yes" "4.3.3"
## e1071 NA NA NA "yes" "4.3.3"
## effects NA NA NA "no" "4.3.3"
## ellipsis NA NA NA "yes" "4.3.3"
## estimability NA NA NA "no" "4.3.3"
## evaluate NA NA NA "no" "4.3.3"
## fansi NA NA NA "yes" "4.3.3"
## farver NA NA NA "yes" "4.3.3"
## fastmap NA NA NA "yes" "4.3.3"
## fontawesome NA NA NA "no" "4.3.3"
## forcats NA NA NA "no" "4.3.3"
## Formula NA NA NA "no" "4.3.1"
## fs NA NA NA "yes" "4.3.3"
## generics NA NA NA "no" "4.3.3"
## ggplot2 NA NA NA "no" "4.3.3"
## glue NA NA NA "yes" "4.3.3"
## gridExtra NA NA NA "no" "4.3.3"
## gtable NA NA NA "no" "4.3.3"
## haven NA NA NA "yes" "4.3.3"
## highr NA NA NA "no" "4.3.3"
## Hmisc NA NA NA "yes" "4.3.3"
## hms NA NA NA "no" "4.3.3"
## htmlTable NA NA NA "no" "4.3.3"
## htmltools NA NA NA "yes" "4.3.3"
## htmlwidgets NA NA NA "no" "4.3.3"
## insight NA NA NA "no" "4.3.3"
## isoband NA NA NA "yes" "4.3.3"
## jquerylib NA NA NA "no" "4.3.3"
## jsonlite NA NA NA "yes" "4.3.3"
## knitr NA NA NA "no" "4.3.3"
## labeling NA NA NA "no" "4.3.1"
## leaps NA NA NA "yes" "4.3.3"
## lifecycle NA NA NA "no" "4.3.3"
## lme4 NA NA NA "yes" "4.3.3"
## lmtest NA NA NA "yes" "4.3.3"
## magrittr NA NA NA "yes" "4.3.3"
## markdown NA NA NA "no" "4.3.3"
## MASS NA NA NA "yes" "4.3.3"
## MatrixModels NA NA NA "no" "4.3.3"
## memoise NA NA NA "no" "4.3.3"
## mi NA NA NA "no" "4.3.3"
## mime NA NA NA "yes" "4.3.1"
## minqa NA NA NA "yes" "4.3.3"
## mitools NA NA NA "no" "4.3.3"
## multcomp NA NA NA "no" "4.3.3"
## munsell NA NA NA "no" "4.3.3"
## mvtnorm NA NA NA "yes" "4.3.3"
## nloptr NA NA NA "yes" "4.3.3"
## nortest NA NA NA "no" "4.3.1"
## numDeriv NA NA NA "no" "4.3.1"
## openxlsx NA NA NA "yes" "4.3.3"
## pbkrtest NA NA NA "no" "4.3.3"
## pillar NA NA NA "no" "4.3.3"
## pkgbuild NA NA NA "no" "4.3.3"
## pkgconfig NA NA NA "no" "4.3.3"
## pkgload NA NA NA "no" "4.3.3"
## praise NA NA NA "no" "4.3.3"
## prettyunits NA NA NA "no" "4.3.3"
## processx NA NA NA "yes" "4.3.3"
## progress NA NA NA "no" "4.3.3"
## proxy NA NA NA "yes" "4.3.3"
## ps NA NA NA "yes" "4.3.3"
## purrr NA NA NA "yes" "4.3.3"
## quantreg NA NA NA "yes" "4.3.3"
## R6 NA NA NA "no" "4.3.3"
## rappdirs NA NA NA "yes" "4.3.3"
## Rcmdr NA NA NA "no" "4.3.3"
## RcmdrMisc NA NA NA "no" "4.3.3"
## RColorBrewer NA NA NA "no" "4.3.1"
## Rcpp NA NA NA "yes" "4.3.3"
## RcppArmadillo NA NA NA "yes" "4.3.3"
## RcppEigen NA NA NA "yes" "4.3.3"
## readr NA NA NA "yes" "4.3.3"
## readstata13 NA NA NA "yes" "4.3.3"
## readxl NA NA NA "yes" "4.3.3"
## relimp NA NA NA "no" "4.3.3"
## rematch NA NA NA "no" "4.3.3"
## rematch2 NA NA NA "no" "4.3.3"
## rgl NA NA NA "yes" "4.3.3"
## rlang NA NA NA "yes" "4.3.3"
## rmarkdown NA NA NA "no" "4.3.3"
## rprojroot NA NA NA "no" "4.3.3"
## rstudioapi NA NA NA "no" "4.3.3"
## sandwich NA NA NA "no" "4.3.3"
## sass NA NA NA "yes" "4.3.3"
## scales NA NA NA "yes" "4.3.3"
## sem NA NA NA "yes" "4.3.3"
## SparseM NA NA NA "yes" "4.3.1"
## stringi NA NA NA "yes" "4.3.2"
## stringr NA NA NA "no" "4.3.3"
## survey NA NA NA "yes" "4.3.3"
## tcltk2 NA NA NA "no" "4.3.1"
## testthat NA NA NA "yes" "4.3.3"
## TH.data NA NA NA "no" "4.3.3"
## tibble NA NA NA "yes" "4.3.3"
## tidyr NA NA NA "yes" "4.3.3"
## tidyselect NA NA NA "yes" "4.3.3"
## tinytex NA NA NA "no" "4.3.3"
## tzdb NA NA NA "yes" "4.3.3"
## utf8 NA NA NA "yes" "4.3.3"
## vctrs NA NA NA "yes" "4.3.3"
## viridis NA NA NA "no" "4.3.3"
## viridisLite NA NA NA "no" "4.3.3"
## vroom NA NA NA "yes" "4.3.3"
## waldo NA NA NA "no" "4.3.3"
## withr NA NA NA "no" "4.3.3"
## xfun NA NA NA "yes" "4.3.3"
## yaml NA NA NA "yes" "4.3.2"
## zip NA NA NA "yes" "4.3.3"
## zoo NA NA NA "yes" "4.3.3"
## base NA NA NA NA "4.3.3"
## boot NA NA NA "no" "4.3.3"
## class NA NA NA "yes" "4.3.3"
## cluster NA NA NA "yes" "4.3.3"
## codetools NA NA NA "no" "4.3.3"
## compiler NA NA NA NA "4.3.3"
## datasets NA NA NA NA "4.3.3"
## foreign NA NA NA "yes" "4.3.3"
## graphics NA NA NA "yes" "4.3.3"
## grDevices NA NA NA "yes" "4.3.3"
## grid NA NA NA "yes" "4.3.3"
## KernSmooth NA NA NA "yes" "4.3.3"
## lattice NA NA NA "yes" "4.3.3"
## MASS NA NA NA "yes" "4.3.3"
## Matrix NA NA NA "yes" "4.3.3"
## methods NA NA NA "yes" "4.3.3"
## mgcv NA NA NA "yes" "4.3.3"
## nlme NA NA NA "yes" "4.3.3"
## nnet NA NA NA "yes" "4.3.3"
## parallel NA NA NA "yes" "4.3.3"
## rpart NA NA NA "yes" "4.3.3"
## spatial NA NA NA "yes" "4.3.3"
## splines NA NA NA "yes" "4.3.3"
## stats NA NA NA "yes" "4.3.3"
## stats4 NA NA NA NA "4.3.3"
## survival NA NA NA "yes" "4.3.3"
## tcltk NA NA NA "yes" "4.3.3"
## tools NA NA NA "yes" "4.3.3"
## translations NA NA NA NA "4.3.3"
## utils NA NA NA "yes" "4.3.3"
installed.packages("MASS")
## Package LibPath Version Priority Depends Imports LinkingTo Suggests
## Enhances License License_is_FOSS License_restricts_use OS_type Archs
## MD5sum NeedsCompilation Built
installed.packages("Survival")
## Package LibPath Version Priority Depends Imports LinkingTo Suggests
## Enhances License License_is_FOSS License_restricts_use OS_type Archs
## MD5sum NeedsCompilation Built
library(MASS)
help(package = "MASS")
library(survival)
help(package = "survival")
Buscad información sobre el paquete Rcmdr (R Commander) desde la consola.
library(Rcmdr)
## Loading required package: splines
## Loading required package: RcmdrMisc
## Loading required package: car
## Loading required package: carData
## Loading required package: sandwich
## Loading required package: effects
## lattice theme set by effectsTheme()
## See ?effectsTheme for details.
## La interfaz R-Commander sólo funciona en sesiones interactivas
##
## Attaching package: 'Rcmdr'
## The following object is masked from 'package:base':
##
## errorCondition
help(package = "Rcmdr")
# Importar el archivo de texto
datos_texto <- read.table("C:/Users/Lucia/OneDrive - URV/Máster Bioinformática y Bioestadística/Software para el análisis de datos/datos_ejemplo.txt", header = TRUE, sep = "\t")
# Realizar un summary de las variables seleccionadas
summary(datos_texto[c("Edad", "Peso", "Altura")])
## Edad Peso Altura
## Min. :18.0 Min. :55.00 Min. :152.0
## 1st Qu.:25.5 1st Qu.:61.50 1st Qu.:166.0
## Median :36.0 Median :76.00 Median :179.0
## Mean :37.0 Mean :76.27 Mean :177.3
## 3rd Qu.:48.5 3rd Qu.:91.00 3rd Qu.:188.5
## Max. :57.0 Max. :98.00 Max. :197.0
# Importar el archivo CSV
datos_csv <- read.csv("C:/Users/Lucia/OneDrive - URV/Máster Bioinformática y Bioestadística/Software para el análisis de datos/datos_ejemplo.csv")
# Realizar un fivenum de las variables seleccionadas
fivenum(datos_csv$Temperatura)
## [1] 20.10589 23.16327 24.90252 28.20727 32.28668
fivenum(datos_csv$Humedad)
## [1] 34.89896 42.57220 50.95151 58.46716 70.31736
A partir del conjunto de datos anorexia del paquete MASS, que corresponden a los datos de cambio de peso de pacientes jóvenes con anorexia, mostrad los tipos de datos que contiene y comprobad si existen valores NA y NULL. Para la variable Treat, transformad los valores «CBT», «Cont» y FT en «Cogn Beh Tr», «Contr» y «Fam Tr», respectivamente.
# Cargar el paquete MASS para acceder al conjunto de datos anorexia
library(MASS)
# Cargar el conjunto de datos anorexia
data(anorexia)
# Mostrar la estructura del conjunto de datos para ver los tipos de datos de cada columna
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 ...
# Comprobar la presencia de valores NA (Not Available) en el conjunto de datos
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
# Comprobar la presencia de valores NULL en el conjunto de datos
is.null(anorexia)
## [1] FALSE
# Transformar los valores en la columna Treat
# Se reemplazan "CBT", "Cont", y "FT" con "Cogn Beh Tr", "Contr", y "Fam Tr" respectivamente
anorexia$Treat <- factor(anorexia$Treat,
levels = c("CBT", "Cont", "FT"),
labels = c("Cogn Beh Tr", "Contr", "Fam Tr"))
En el siguiente ejemplo veremos cómo utilizar diferentes operadores sobre el conjunto de datos birthwt, así como también algunas funciones que nos permiten obtener más información de las variables:
En primer lugar, cargamos el paquete MASS y la base de datos:
library(MASS)
data(birthwt)
max_age <- max(birthwt$age)
max_age
## [1] 45
La edad máxima de las madres es 45 años.
min_age <- min(birthwt$age)
min_age
## [1] 14
La edad mínima de las madres es 14 años.
range_age <- range(birthwt$age)
range_age
## [1] 14 45
El rango de edad de las madres va de 14 a 45 años.
smoke_lowest_weight <- birthwt$smoke[birthwt$bwt == min(birthwt$bwt)]
smoke_lowest_weight
## [1] 1
Sí, la madre era fumadora.
weight_max_age <- birthwt$bwt[birthwt$age == max(birthwt$age)]
weight_max_age
## [1] 4990
El recién nacido cuya madre tenía la edad máxima peso 4990 gramos, es decir 4.990 kg.
weights_few_visits <- birthwt$bwt[birthwt$ftv < 2]
weights_few_visits
## [1] 2523 2557 2600 2622 2637 2637 2663 2665 2722 2733 2751 2769 2769 2778 2807
## [16] 2821 2836 2863 2877 2906 2920 2920 2920 2948 2948 2977 2977 2922 3033 3062
## [31] 3062 3062 3062 3090 3090 3100 3104 3132 3175 3175 3203 3203 3203 3225 3225
## [46] 3232 3234 3260 3274 3317 3317 3331 3374 3374 3402 3416 3444 3459 3460 3473
## [61] 3544 3487 3544 3572 3572 3586 3600 3614 3614 3629 3637 3643 3651 3651 3651
## [76] 3651 3699 3728 3756 3770 3770 3770 3790 3799 3827 3884 3912 3940 3941 3941
## [91] 3969 3997 3997 4054 4054 4111 4174 4238 4593 4990 709 1135 1330 1474 1588
## [106] 1588 1701 1729 1790 1818 1885 1893 1899 1928 1936 1970 2055 2055 2084 2084
## [121] 2100 2125 2187 2187 2211 2225 2240 2240 2282 2296 2296 2325 2353 2353 2367
## [136] 2381 2381 2381 2410 2410 2410 2424 2442 2466 2466 2495 2495
A partir del conjunto de datos anorexia trabajado en apartados anteriores, cread una matriz que tenga como columnas los valores de Prewt y Postwt, y cada fila sean los valores correspondientes para cada posición.
library(MASS)
data(anorexia)
# Crear una matriz con las columnas Prewt y Postwt del conjunto de datos anorexia
weight_matrix <- as.matrix(anorexia[, c("Prewt", "Postwt")])
# Mostrar la matriz resultante
print(weight_matrix)
## Prewt Postwt
## 1 80.7 80.2
## 2 89.4 80.1
## 3 91.8 86.4
## 4 74.0 86.3
## 5 78.1 76.1
## 6 88.3 78.1
## 7 87.3 75.1
## 8 75.1 86.7
## 9 80.6 73.5
## 10 78.4 84.6
## 11 77.6 77.4
## 12 88.7 79.5
## 13 81.3 89.6
## 14 78.1 81.4
## 15 70.5 81.8
## 16 77.3 77.3
## 17 85.2 84.2
## 18 86.0 75.4
## 19 84.1 79.5
## 20 79.7 73.0
## 21 85.5 88.3
## 22 84.4 84.7
## 23 79.6 81.4
## 24 77.5 81.2
## 25 72.3 88.2
## 26 89.0 78.8
## 27 80.5 82.2
## 28 84.9 85.6
## 29 81.5 81.4
## 30 82.6 81.9
## 31 79.9 76.4
## 32 88.7 103.6
## 33 94.9 98.4
## 34 76.3 93.4
## 35 81.0 73.4
## 36 80.5 82.1
## 37 85.0 96.7
## 38 89.2 95.3
## 39 81.3 82.4
## 40 76.5 72.5
## 41 70.0 90.9
## 42 80.4 71.3
## 43 83.3 85.4
## 44 83.0 81.6
## 45 87.7 89.1
## 46 84.2 83.9
## 47 86.4 82.7
## 48 76.5 75.7
## 49 80.2 82.6
## 50 87.8 100.4
## 51 83.3 85.2
## 52 79.7 83.6
## 53 84.5 84.6
## 54 80.8 96.2
## 55 87.4 86.7
## 56 83.8 95.2
## 57 83.3 94.3
## 58 86.0 91.5
## 59 82.5 91.9
## 60 86.7 100.3
## 61 79.6 76.7
## 62 76.9 76.8
## 63 94.2 101.6
## 64 73.4 94.9
## 65 80.5 75.2
## 66 81.6 77.8
## 67 82.1 95.5
## 68 77.6 90.7
## 69 83.5 92.5
## 70 89.9 93.8
## 71 86.0 91.7
## 72 87.3 98.0
Copia el código siguiente en tu consola para generar un data frame con veinticinco registros y seis variables, y responde a los siguientes apartados:
Identificador <- c("I1", "I2", "I3", "I4", "I5", "I6", "I7", "I8", "I9", "I10",
"I11", "I12", "I13", "I14", "I15", "I16", "I17", "I18", "I19", "I20",
"I21", "I22", "I23", "I24", "I25")
Edad <- c(23, 24, 21, 22, 23, 25, 26, 24, 21, 22, 23, 25, 26, 24, 22, 21, 25, 26, 24, 21,
25, 27, 26, 22, 29)
Sexo <- c(1, 2, 1, 1, 1, 2, 2, 2, 1, 2, 1, 2, 2, 2, 1, 1, 1, 2, 2, 2, 1, 2, 1, 1, 2)
Peso <- c(76.5, 81.2, 79.3, 59.5, 67.3, 78.6, 67.9, 100.2, 97.8, 56.4, 65.4, 67.5, 87.4, 99.7,
87.6, 93.4, 65.4, 73.7, 85.1, 61.2, 54.8, 103.4, 65.8, 71.7, 85.0)
Alt <- c(165, 154, 178, 165, 164, 175, 182, 165, 178, 165, 158, 183, 184, 164, 189, 167,
182, 179, 165, 158, 183, 184, 189, 166, 175)
Fuma <- c("SÍ", "NO", "SÍ", "SÍ", "NO", "NO", "NO", "SÍ", "SÍ", "SÍ", "NO", "NO", "SÍ",
"SÍ", "SÍ", "SÍ", "NO", "NO", "SÍ", "SÍ", "SÍ", "NO", "SÍ", "NO", "SÍ")
Trat_Pulmón <- data.frame(Identificador, Edad, Sexo, Peso, Alt, Fuma)
Trat_Pulmón[Trat_Pulmón$Edad > 22, ]
## Identificador Edad Sexo Peso Alt Fuma
## 1 I1 23 1 76.5 165 SÍ
## 2 I2 24 2 81.2 154 NO
## 5 I5 23 1 67.3 164 NO
## 6 I6 25 2 78.6 175 NO
## 7 I7 26 2 67.9 182 NO
## 8 I8 24 2 100.2 165 SÍ
## 11 I11 23 1 65.4 158 NO
## 12 I12 25 2 67.5 183 NO
## 13 I13 26 2 87.4 184 SÍ
## 14 I14 24 2 99.7 164 SÍ
## 17 I17 25 1 65.4 182 NO
## 18 I18 26 2 73.7 179 NO
## 19 I19 24 2 85.1 165 SÍ
## 21 I21 25 1 54.8 183 SÍ
## 22 I22 27 2 103.4 184 NO
## 23 I23 26 1 65.8 189 SÍ
## 25 I25 29 2 85.0 175 SÍ
Trat_Pulmón[3, 4]
## [1] 79.3
subset(Trat_Pulmón, Edad < 27, select = -Alt)
## Identificador Edad Sexo Peso Fuma
## 1 I1 23 1 76.5 SÍ
## 2 I2 24 2 81.2 NO
## 3 I3 21 1 79.3 SÍ
## 4 I4 22 1 59.5 SÍ
## 5 I5 23 1 67.3 NO
## 6 I6 25 2 78.6 NO
## 7 I7 26 2 67.9 NO
## 8 I8 24 2 100.2 SÍ
## 9 I9 21 1 97.8 SÍ
## 10 I10 22 2 56.4 SÍ
## 11 I11 23 1 65.4 NO
## 12 I12 25 2 67.5 NO
## 13 I13 26 2 87.4 SÍ
## 14 I14 24 2 99.7 SÍ
## 15 I15 22 1 87.6 SÍ
## 16 I16 21 1 93.4 SÍ
## 17 I17 25 1 65.4 NO
## 18 I18 26 2 73.7 NO
## 19 I19 24 2 85.1 SÍ
## 20 I20 21 2 61.2 SÍ
## 21 I21 25 1 54.8 SÍ
## 23 I23 26 1 65.8 SÍ
## 24 I24 22 1 71.7 NO
Incorporad el dataset ChickWeight que contiene información sobre el peso de 578 pollitos en gramos (weight), el tiempo desde la medición al nacer (Time), una variable identificadora de cada pollito (Chick) a partir del rango de peso y una variable factor con el tipo de dieta experimental que cada pollito recibió (Diet).
data("ChickWeight")
plot(ChickWeight$weight, col="orange", main="Dispersión weight")
boxplot(ChickWeight$Time, col="blue", main = "Boxplot Time", ylab = "Time")
A partir del conjunto de datos anorexia del paquete MASS, cread otro data frame que se llame anorexia_treat_df formado por Treat y por un vector nuevo calculado a partir de la diferencia Prewt-Postwt. De esta manera, nos quedará un data frame que contenga el tipo de tratamiento y el valor del peso ganado o perdido después de haber realizado el tratamiento.
Seleccionad aquellos individuos que han ganado peso después del tratamiento y cread un nuevo conjunto llamado anorexia_treat_C_df que contenga solo los datos de aquellos que han seguido el tratamiento «Cont» y que han ganado peso después del tratamiento.
library("MASS")
data(anorexia)
#Calcular la diferencia de peso y crear el nuevo data frame anorexia_treat_df:
anorexia_treat_df <- data.frame(
Treat = anorexia$Treat,
WeightChange = anorexia$Prewt - anorexia$Postwt)
#Seleccionar individuos que han ganado peso:
anorexia_gain_df <- anorexia_treat_df[anorexia_treat_df$WeightChange < 0, ]
anorexia_gain_df
## Treat WeightChange
## 4 Cont -12.3
## 8 Cont -11.6
## 10 Cont -6.2
## 13 Cont -8.3
## 14 Cont -3.3
## 15 Cont -11.3
## 21 Cont -2.8
## 22 Cont -0.3
## 23 Cont -1.8
## 24 Cont -3.7
## 25 Cont -15.9
## 27 CBT -1.7
## 28 CBT -0.7
## 32 CBT -14.9
## 33 CBT -3.5
## 34 CBT -17.1
## 36 CBT -1.6
## 37 CBT -11.7
## 38 CBT -6.1
## 39 CBT -1.1
## 41 CBT -20.9
## 43 CBT -2.1
## 45 CBT -1.4
## 49 CBT -2.4
## 50 CBT -12.6
## 51 CBT -1.9
## 52 CBT -3.9
## 53 CBT -0.1
## 54 CBT -15.4
## 56 FT -11.4
## 57 FT -11.0
## 58 FT -5.5
## 59 FT -9.4
## 60 FT -13.6
## 63 FT -7.4
## 64 FT -21.5
## 67 FT -13.4
## 68 FT -13.1
## 69 FT -9.0
## 70 FT -3.9
## 71 FT -5.7
## 72 FT -10.7
#Creación de anorexia_treat_C_df, filtrando solo aquellos que siguieron el tratamiento Cont y ganaron peso:
anorexia_treat_C_df <- anorexia_gain_df[anorexia_gain_df$Treat == 'Cont', ]
anorexia_treat_C_df
## Treat WeightChange
## 4 Cont -12.3
## 8 Cont -11.6
## 10 Cont -6.2
## 13 Cont -8.3
## 14 Cont -3.3
## 15 Cont -11.3
## 21 Cont -2.8
## 22 Cont -0.3
## 23 Cont -1.8
## 24 Cont -3.7
## 25 Cont -15.9