diff --git a/SESSION.html b/SESSION.html index 6856da3b..2589efae 100644 --- a/SESSION.html +++ b/SESSION.html @@ -43,7 +43,7 @@ - +
——————————– R environment ———————————
|setting |value | |:———–|:——————————————| |version |R version 4.5.2 (2025-10-31) | |os |macOS Tahoe 26.3 | |system |aarch64, darwin20 | |ui |RStudio | |language |(EN) | |collate |en_US.UTF-8 | |ctype |en_US.UTF-8 | |tz |Europe/Copenhagen | |date |2026-03-23 | |rstudio |2026.01.1+403 Apple Blossom (desktop) | |pandoc |3.6.4 @ /opt/homebrew/bin/ (via rmarkdown) | |quarto |1.7.30 @ /usr/local/bin/quarto | |FreesearchR |26.3.4.260323 |
|setting |value | |:———–|:——————————————| |version |R version 4.5.2 (2025-10-31) | |os |macOS Tahoe 26.3 | |system |aarch64, darwin20 | |ui |RStudio | |language |(EN) | |collate |en_US.UTF-8 | |ctype |en_US.UTF-8 | |tz |Europe/Copenhagen | |date |2026-03-24 | |rstudio |2026.01.1+403 Apple Blossom (desktop) | |pandoc |3.6.4 @ /opt/homebrew/bin/ (via rmarkdown) | |quarto |1.7.30 @ /usr/local/bin/quarto | |FreesearchR |26.3.4.260324 |

———————————– packages ———————————–

@@ -134,50 +134,42 @@ - - - - - + - + - + - + - + - + - + - + - + - - - - @@ -410,62 +402,62 @@ - - - - - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + @@ -558,58 +550,58 @@ - + + + + + - + - + - + - + - + - + - + - + - + - + - + - - - - @@ -822,18 +814,10 @@ - - - - - + - - - - diff --git a/SESSION.md b/SESSION.md index 3d4f7885..751ba026 100644 --- a/SESSION.md +++ b/SESSION.md @@ -2,7 +2,7 @@ | ——————————– R environment ——————————— | |--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| \|setting \|value \| \|:———–\|:——————————————\| \|version \|R version 4.5.2 (2025-10-31) \| \|os \|macOS Tahoe 26.3 \| \|system \|aarch64, darwin20 \| \|ui \|RStudio \| \|language \|(EN) \| \|collate \|en_US.UTF-8 \| \|ctype \|en_US.UTF-8 \| \|tz \|Europe/Copenhagen \| \|date \|2026-03-23 \| \|rstudio \|2026.01.1+403 Apple Blossom (desktop) \| \|pandoc \|3.6.4 @ /opt/homebrew/bin/ (via rmarkdown) \| \|quarto \|1.7.30 @ /usr/local/bin/quarto \| \|FreesearchR \|26.3.4.260323 \| | +| \|setting \|value \| \|:———–\|:——————————————\| \|version \|R version 4.5.2 (2025-10-31) \| \|os \|macOS Tahoe 26.3 \| \|system \|aarch64, darwin20 \| \|ui \|RStudio \| \|language \|(EN) \| \|collate \|en_US.UTF-8 \| \|ctype \|en_US.UTF-8 \| \|tz \|Europe/Copenhagen \| \|date \|2026-03-24 \| \|rstudio \|2026.01.1+403 Apple Blossom (desktop) \| \|pandoc \|3.6.4 @ /opt/homebrew/bin/ (via rmarkdown) \| \|quarto \|1.7.30 @ /usr/local/bin/quarto \| \|FreesearchR \|26.3.4.260324 \| | ## ———————————– packages ———————————– @@ -29,7 +29,6 @@ | cardx | 0.3.2 | 2026-02-05 | CRAN (R 4.5.2) | | caTools | 1.18.3 | 2024-09-04 | CRAN (R 4.5.0) | | cellranger | 1.1.0 | 2016-07-27 | CRAN (R 4.5.0) | -| cffr | 1.2.1 | 2026-01-12 | CRAN (R 4.5.2) | | checkmate | 2.3.4 | 2026-02-03 | CRAN (R 4.5.2) | | class | 7.3-23 | 2025-01-01 | CRAN (R 4.5.0) | | classInt | 0.4-11 | 2025-01-08 | CRAN (R 4.5.0) | @@ -39,7 +38,6 @@ | colorspace | 2.1-2 | 2025-09-22 | CRAN (R 4.5.0) | | commonmark | 2.0.0 | 2025-07-07 | CRAN (R 4.5.0) | | crayon | 1.5.3 | 2024-06-20 | CRAN (R 4.5.0) | -| curl | 7.0.0 | 2025-08-19 | CRAN (R 4.5.0) | | data.table | 1.18.2.1 | 2026-01-27 | CRAN (R 4.5.2) | | datamods | 1.5.3 | 2024-10-02 | CRAN (R 4.5.0) | | datawizard | 1.3.0 | 2025-10-11 | CRAN (R 4.5.0) | @@ -98,7 +96,6 @@ | iterators | 1.0.14 | 2022-02-05 | CRAN (R 4.5.0) | | jquerylib | 0.1.4 | 2021-04-26 | CRAN (R 4.5.0) | | jsonlite | 2.0.0 | 2025-03-27 | CRAN (R 4.5.0) | -| jsonvalidate | 1.5.0 | 2025-02-07 | CRAN (R 4.5.0) | | KernSmooth | 2.23-26 | 2025-01-01 | CRAN (R 4.5.0) | | keyring | 1.4.1 | 2025-06-15 | CRAN (R 4.5.0) | | knitr | 1.51 | 2025-12-20 | CRAN (R 4.5.2) | @@ -112,6 +109,7 @@ | MASS | 7.3-65 | 2025-02-28 | CRAN (R 4.5.0) | | Matrix | 1.7-4 | 2025-08-28 | CRAN (R 4.5.0) | | memoise | 2.0.1 | 2021-11-26 | CRAN (R 4.5.0) | +| mgcv | 1.9-4 | 2025-11-07 | CRAN (R 4.5.0) | | mime | 0.13 | 2025-03-17 | CRAN (R 4.5.0) | | minqa | 1.2.8 | 2024-08-17 | CRAN (R 4.5.0) | | mvtnorm | 1.3-2 | 2024-11-04 | CRAN (R 4.5.2) | @@ -135,6 +133,7 @@ | pkgload | 1.5.0 | 2026-02-03 | CRAN (R 4.5.2) | | plyr | 1.8.9 | 2023-10-02 | CRAN (R 4.5.0) | | polyclip | 1.10-7 | 2024-07-23 | CRAN (R 4.5.0) | +| polylabelr | 1.0.0 | 2026-01-19 | CRAN (R 4.5.2) | | pracma | 2.4.6 | 2025-10-22 | CRAN (R 4.5.0) | | processx | 3.8.6 | 2025-02-21 | CRAN (R 4.5.0) | | promises | 1.5.0 | 2025-11-01 | CRAN (R 4.5.0) | @@ -147,7 +146,6 @@ | R6 | 2.6.1 | 2025-02-15 | CRAN (R 4.5.0) | | ragg | 1.5.1 | 2026-03-06 | CRAN (R 4.5.2) | | rankinPlot | 1.1.0 | 2023-01-30 | CRAN (R 4.5.0) | -| rappdirs | 0.3.4 | 2026-01-17 | CRAN (R 4.5.2) | | rbibutils | 2.4.1 | 2026-01-21 | CRAN (R 4.5.2) | | RColorBrewer | 1.1-3 | 2022-04-03 | CRAN (R 4.5.0) | | Rcpp | 1.1.1 | 2026-01-10 | CRAN (R 4.5.2) | @@ -201,9 +199,7 @@ | twosamples | 2.0.1 | 2023-06-23 | CRAN (R 4.5.0) | | tzdb | 0.5.0 | 2025-03-15 | CRAN (R 4.5.0) | | usethis | 3.2.1 | 2025-09-06 | CRAN (R 4.5.0) | -| utf8 | 1.2.6 | 2025-06-08 | CRAN (R 4.5.0) | | uuid | 1.2-2 | 2026-01-23 | CRAN (R 4.5.2) | -| V8 | 8.0.1 | 2025-10-10 | CRAN (R 4.5.0) | | vctrs | 0.7.1 | 2026-01-23 | CRAN (R 4.5.2) | | viridis | 0.6.5 | 2024-01-29 | CRAN (R 4.5.0) | | viridisLite | 0.4.3 | 2026-02-04 | CRAN (R 4.5.2) | diff --git a/articles/session.html b/articles/session.html index de2e6caa..9fb44cf5 100644 --- a/articles/session.html +++ b/articles/session.html @@ -133,7 +133,7 @@ packages and the latest build info.

- + @@ -149,7 +149,7 @@ packages and the latest build info.

- +
package1.1.0 2016-07-27 CRAN (R 4.5.0)
cffr1.2.12026-01-12CRAN (R 4.5.2)
checkmate
checkmate 2.3.4 2026-02-03 CRAN (R 4.5.2)
class
class 7.3-23 2025-01-01 CRAN (R 4.5.0)
classInt
classInt 0.4-11 2025-01-08 CRAN (R 4.5.0)
cli
cli 3.6.5 2025-04-23 CRAN (R 4.5.0)
cluster
cluster 2.1.8.2 2026-02-05 CRAN (R 4.5.2)
codetools
codetools 0.2-20 2024-03-31 CRAN (R 4.5.0)
colorspace
colorspace 2.1-2 2025-09-22 CRAN (R 4.5.0)
commonmark
commonmark 2.0.0 2025-07-07 CRAN (R 4.5.0)
crayon
crayon 1.5.3 2024-06-20 CRAN (R 4.5.0)
curl7.0.02025-08-19CRAN (R 4.5.0)
data.table 1.18.2.1 2026-01-272.0.0 2025-03-27 CRAN (R 4.5.0)
jsonvalidate1.5.02025-02-07CRAN (R 4.5.0)
KernSmooth
KernSmooth 2.23-26 2025-01-01 CRAN (R 4.5.0)
keyring
keyring 1.4.1 2025-06-15 CRAN (R 4.5.0)
knitr
knitr 1.51 2025-12-20 CRAN (R 4.5.2)
labeling
labeling 0.4.3 2023-08-29 CRAN (R 4.5.0)
later
later 1.4.8 2026-03-05 CRAN (R 4.5.2)
lattice
lattice 0.22-7 2025-04-02 CRAN (R 4.5.2)
lifecycle
lifecycle 1.0.5 2026-01-08 CRAN (R 4.5.2)
lme4
lme4 2.0-1 2026-03-05 CRAN (R 4.5.2)
lubridate
lubridate 1.9.5 2026-02-04 CRAN (R 4.5.2)
magrittr
magrittr 2.0.4 2025-09-12 CRAN (R 4.5.0)
MASS
MASS 7.3-65 2025-02-28 CRAN (R 4.5.0)
Matrix
Matrix 1.7-4 2025-08-28 CRAN (R 4.5.0)
memoise
memoise 2.0.1 2021-11-26 CRAN (R 4.5.0)
mgcv1.9-42025-11-07CRAN (R 4.5.0)
mime 0.13 2025-03-171.10-7 2024-07-23 CRAN (R 4.5.0)
pracma
polylabelr1.0.02026-01-19CRAN (R 4.5.2)
pracma 2.4.6 2025-10-22 CRAN (R 4.5.0)
processx
processx 3.8.6 2025-02-21 CRAN (R 4.5.0)
promises
promises 1.5.0 2025-11-01 CRAN (R 4.5.0)
proxy
proxy 0.4-29 2025-12-29 CRAN (R 4.5.2)
ps
ps 1.9.1 2025-04-12 CRAN (R 4.5.0)
purrr
purrr 1.2.1 2026-01-09 CRAN (R 4.5.2)
qqconf
qqconf 1.3.2 2023-04-14 CRAN (R 4.5.0)
qqplotr
qqplotr 0.0.7 2025-09-05 CRAN (R 4.5.0)
quarto
quarto 1.5.1 2025-09-04 CRAN (R 4.5.0)
R6
R6 2.6.1 2025-02-15 CRAN (R 4.5.0)
ragg
ragg 1.5.1 2026-03-06 CRAN (R 4.5.2)
rankinPlot
rankinPlot 1.1.0 2023-01-30 CRAN (R 4.5.0)
rappdirs0.3.42026-01-17CRAN (R 4.5.2)
rbibutils 2.4.1 2026-01-213.2.1 2025-09-06 CRAN (R 4.5.0)
utf81.2.62025-06-08CRAN (R 4.5.0)
uuid
uuid 1.2-2 2026-01-23 CRAN (R 4.5.2)
V88.0.12025-10-10CRAN (R 4.5.0)
vctrs 0.7.1 2026-01-23
date2026-03-232026-03-24
rstudio
FreesearchR26.3.4.26032326.3.4.260324
@@ -294,71 +294,59 @@ packages and the latest build info.

CRAN (R 4.5.0) -cffr -1.2.1 -2026-01-12 -CRAN (R 4.5.2) - - checkmate 2.3.4 2026-02-03 CRAN (R 4.5.2) - + class 7.3-23 2025-01-01 CRAN (R 4.5.0) - + classInt 0.4-11 2025-01-08 CRAN (R 4.5.0) - + cli 3.6.5 2025-04-23 CRAN (R 4.5.0) - + cluster 2.1.8.2 2026-02-05 CRAN (R 4.5.2) - + codetools 0.2-20 2024-03-31 CRAN (R 4.5.0) - + colorspace 2.1-2 2025-09-22 CRAN (R 4.5.0) - + commonmark 2.0.0 2025-07-07 CRAN (R 4.5.0) - + crayon 1.5.3 2024-06-20 CRAN (R 4.5.0) - -curl -7.0.0 -2025-08-19 -CRAN (R 4.5.0) - data.table 1.18.2.1 @@ -708,89 +696,89 @@ packages and the latest build info.

CRAN (R 4.5.0) -jsonvalidate -1.5.0 -2025-02-07 -CRAN (R 4.5.0) - - KernSmooth 2.23-26 2025-01-01 CRAN (R 4.5.0) - + keyring 1.4.1 2025-06-15 CRAN (R 4.5.0) - + knitr 1.51 2025-12-20 CRAN (R 4.5.2) - + labeling 0.4.3 2023-08-29 CRAN (R 4.5.0) - + later 1.4.8 2026-03-05 CRAN (R 4.5.2) - + lattice 0.22-7 2025-04-02 CRAN (R 4.5.2) - + lifecycle 1.0.5 2026-01-08 CRAN (R 4.5.2) - + lme4 2.0-1 2026-03-05 CRAN (R 4.5.2) - + lubridate 1.9.5 2026-02-04 CRAN (R 4.5.2) - + magrittr 2.0.4 2025-09-12 CRAN (R 4.5.0) - + MASS 7.3-65 2025-02-28 CRAN (R 4.5.0) - + Matrix 1.7-4 2025-08-28 CRAN (R 4.5.0) - + memoise 2.0.1 2021-11-26 CRAN (R 4.5.0) + +mgcv +1.9-4 +2025-11-07 +CRAN (R 4.5.0) + mime 0.13 @@ -930,83 +918,83 @@ packages and the latest build info.

CRAN (R 4.5.0) +polylabelr +1.0.0 +2026-01-19 +CRAN (R 4.5.2) + + pracma 2.4.6 2025-10-22 CRAN (R 4.5.0) - + processx 3.8.6 2025-02-21 CRAN (R 4.5.0) - + promises 1.5.0 2025-11-01 CRAN (R 4.5.0) - + proxy 0.4-29 2025-12-29 CRAN (R 4.5.2) - + ps 1.9.1 2025-04-12 CRAN (R 4.5.0) - + purrr 1.2.1 2026-01-09 CRAN (R 4.5.2) - + qqconf 1.3.2 2023-04-14 CRAN (R 4.5.0) - + qqplotr 0.0.7 2025-09-05 CRAN (R 4.5.0) - + quarto 1.5.1 2025-09-04 CRAN (R 4.5.0) - + R6 2.6.1 2025-02-15 CRAN (R 4.5.0) - + ragg 1.5.1 2026-03-06 CRAN (R 4.5.2) - + rankinPlot 1.1.0 2023-01-30 CRAN (R 4.5.0) - -rappdirs -0.3.4 -2026-01-17 -CRAN (R 4.5.2) - rbibutils 2.4.1 @@ -1326,23 +1314,11 @@ packages and the latest build info.

CRAN (R 4.5.0) -utf8 -1.2.6 -2025-06-08 -CRAN (R 4.5.0) - - uuid 1.2-2 2026-01-23 CRAN (R 4.5.2) - -V8 -8.0.1 -2025-10-10 -CRAN (R 4.5.0) - vctrs 0.7.1 diff --git a/articles/session.md b/articles/session.md index 2c782b1d..7855c457 100644 --- a/articles/session.md +++ b/articles/session.md @@ -28,11 +28,11 @@ FreesearchR:::session_data$platform |> knitr::kable() | collate | en_US.UTF-8 | | ctype | en_US.UTF-8 | | tz | Europe/Copenhagen | -| date | 2026-03-23 | +| date | 2026-03-24 | | rstudio | 2026.01.1+403 Apple Blossom (desktop) | | pandoc | 3.6.4 @ /opt/homebrew/bin/ (via rmarkdown) | | quarto | 1.7.30 @ /usr/local/bin/quarto | -| FreesearchR | 26.3.4.260323 | +| FreesearchR | 26.3.4.260324 | ## Libraries @@ -63,7 +63,6 @@ FreesearchR:::session_data$libs|> knitr::kable() | cardx | 0.3.2 | 2026-02-05 | CRAN (R 4.5.2) | | caTools | 1.18.3 | 2024-09-04 | CRAN (R 4.5.0) | | cellranger | 1.1.0 | 2016-07-27 | CRAN (R 4.5.0) | -| cffr | 1.2.1 | 2026-01-12 | CRAN (R 4.5.2) | | checkmate | 2.3.4 | 2026-02-03 | CRAN (R 4.5.2) | | class | 7.3-23 | 2025-01-01 | CRAN (R 4.5.0) | | classInt | 0.4-11 | 2025-01-08 | CRAN (R 4.5.0) | @@ -73,7 +72,6 @@ FreesearchR:::session_data$libs|> knitr::kable() | colorspace | 2.1-2 | 2025-09-22 | CRAN (R 4.5.0) | | commonmark | 2.0.0 | 2025-07-07 | CRAN (R 4.5.0) | | crayon | 1.5.3 | 2024-06-20 | CRAN (R 4.5.0) | -| curl | 7.0.0 | 2025-08-19 | CRAN (R 4.5.0) | | data.table | 1.18.2.1 | 2026-01-27 | CRAN (R 4.5.2) | | datamods | 1.5.3 | 2024-10-02 | CRAN (R 4.5.0) | | datawizard | 1.3.0 | 2025-10-11 | CRAN (R 4.5.0) | @@ -132,7 +130,6 @@ FreesearchR:::session_data$libs|> knitr::kable() | iterators | 1.0.14 | 2022-02-05 | CRAN (R 4.5.0) | | jquerylib | 0.1.4 | 2021-04-26 | CRAN (R 4.5.0) | | jsonlite | 2.0.0 | 2025-03-27 | CRAN (R 4.5.0) | -| jsonvalidate | 1.5.0 | 2025-02-07 | CRAN (R 4.5.0) | | KernSmooth | 2.23-26 | 2025-01-01 | CRAN (R 4.5.0) | | keyring | 1.4.1 | 2025-06-15 | CRAN (R 4.5.0) | | knitr | 1.51 | 2025-12-20 | CRAN (R 4.5.2) | @@ -146,6 +143,7 @@ FreesearchR:::session_data$libs|> knitr::kable() | MASS | 7.3-65 | 2025-02-28 | CRAN (R 4.5.0) | | Matrix | 1.7-4 | 2025-08-28 | CRAN (R 4.5.0) | | memoise | 2.0.1 | 2021-11-26 | CRAN (R 4.5.0) | +| mgcv | 1.9-4 | 2025-11-07 | CRAN (R 4.5.0) | | mime | 0.13 | 2025-03-17 | CRAN (R 4.5.0) | | minqa | 1.2.8 | 2024-08-17 | CRAN (R 4.5.0) | | mvtnorm | 1.3-2 | 2024-11-04 | CRAN (R 4.5.2) | @@ -169,6 +167,7 @@ FreesearchR:::session_data$libs|> knitr::kable() | pkgload | 1.5.0 | 2026-02-03 | CRAN (R 4.5.2) | | plyr | 1.8.9 | 2023-10-02 | CRAN (R 4.5.0) | | polyclip | 1.10-7 | 2024-07-23 | CRAN (R 4.5.0) | +| polylabelr | 1.0.0 | 2026-01-19 | CRAN (R 4.5.2) | | pracma | 2.4.6 | 2025-10-22 | CRAN (R 4.5.0) | | processx | 3.8.6 | 2025-02-21 | CRAN (R 4.5.0) | | promises | 1.5.0 | 2025-11-01 | CRAN (R 4.5.0) | @@ -181,7 +180,6 @@ FreesearchR:::session_data$libs|> knitr::kable() | R6 | 2.6.1 | 2025-02-15 | CRAN (R 4.5.0) | | ragg | 1.5.1 | 2026-03-06 | CRAN (R 4.5.2) | | rankinPlot | 1.1.0 | 2023-01-30 | CRAN (R 4.5.0) | -| rappdirs | 0.3.4 | 2026-01-17 | CRAN (R 4.5.2) | | rbibutils | 2.4.1 | 2026-01-21 | CRAN (R 4.5.2) | | RColorBrewer | 1.1-3 | 2022-04-03 | CRAN (R 4.5.0) | | Rcpp | 1.1.1 | 2026-01-10 | CRAN (R 4.5.2) | @@ -235,9 +233,7 @@ FreesearchR:::session_data$libs|> knitr::kable() | twosamples | 2.0.1 | 2023-06-23 | CRAN (R 4.5.0) | | tzdb | 0.5.0 | 2025-03-15 | CRAN (R 4.5.0) | | usethis | 3.2.1 | 2025-09-06 | CRAN (R 4.5.0) | -| utf8 | 1.2.6 | 2025-06-08 | CRAN (R 4.5.0) | | uuid | 1.2-2 | 2026-01-23 | CRAN (R 4.5.2) | -| V8 | 8.0.1 | 2025-10-10 | CRAN (R 4.5.0) | | vctrs | 0.7.1 | 2026-01-23 | CRAN (R 4.5.2) | | viridis | 0.6.5 | 2024-01-29 | CRAN (R 4.5.0) | | viridisLite | 0.4.3 | 2026-02-04 | CRAN (R 4.5.2) | diff --git a/llms.txt b/llms.txt index 932ea772..5e71a167 100644 --- a/llms.txt +++ b/llms.txt @@ -167,75 +167,115 @@ No tracking data is sent running the app locally (see above). - [`FreesearchR_palette()`](https://agdamsbo.github.io/FreesearchR/reference/FreesearchR_palette.md) : Use the FreesearchR colors + - [`FreesearchR_theme()`](https://agdamsbo.github.io/FreesearchR/reference/FreesearchR_theme.md) : Custom theme based on unity + - [`add_class_icon()`](https://agdamsbo.github.io/FreesearchR/reference/add_class_icon.md) : Convert class grid column to icon + - [`add_sparkline()`](https://agdamsbo.github.io/FreesearchR/reference/add_sparkline.md) : Add sparkline to datagrid + - [`align_axes()`](https://agdamsbo.github.io/FreesearchR/reference/align_axes.md) : Aligns axes between plots + - [`all_but()`](https://agdamsbo.github.io/FreesearchR/reference/all_but.md) : Select all from vector but + - [`append_column()`](https://agdamsbo.github.io/FreesearchR/reference/append_column.md) : Append a column to a data.frame + - [`append_list()`](https://agdamsbo.github.io/FreesearchR/reference/append_list.md) : Append list with named index + - [`apply_labels()`](https://agdamsbo.github.io/FreesearchR/reference/apply_labels.md) : Apply a named label vector to a data frame + - [`argsstring2list()`](https://agdamsbo.github.io/FreesearchR/reference/argsstring2list.md) : Convert string of arguments to list of arguments + - [`baseline_table()`](https://agdamsbo.github.io/FreesearchR/reference/baseline_table.md) : Print a flexible baseline characteristics table + - [`check_app_version()`](https://agdamsbo.github.io/FreesearchR/reference/check_app_version.md) : Run a startup version check and return a banner UI element + - [`class_icons()`](https://agdamsbo.github.io/FreesearchR/reference/class_icons.md) : Get data class icons + - [`clean_common_axis()`](https://agdamsbo.github.io/FreesearchR/reference/clean_common_axis.md) : Extract and clean axis ranges + - [`clean_date()`](https://agdamsbo.github.io/FreesearchR/reference/clean_date.md) : Attempts at applying uniform date format + - [`clean_sep()`](https://agdamsbo.github.io/FreesearchR/reference/clean_sep.md) : gsub wrapper for piping with default values for separator substituting + - [`collapse_spaces()`](https://agdamsbo.github.io/FreesearchR/reference/collapse_spaces.md) : Substitue spaces/tabs with single space excluding text within quotes + +- [`colorSelectInput()`](https://agdamsbo.github.io/FreesearchR/reference/colorSelectInput.md) + : + + A selectizeInput customized for named vectors of color names supported + by `generate_colors` + - [`columnSelectInput()`](https://agdamsbo.github.io/FreesearchR/reference/columnSelectInput.md) : A selectizeInput customized for data frames with column labels + - [`compare_missings()`](https://agdamsbo.github.io/FreesearchR/reference/compare_missings.md) : Pairwise comparison of missings across covariables + +- [`continuous_colors()`](https://agdamsbo.github.io/FreesearchR/reference/continuous_colors.md) + : Create a Continuous Color Function from a Palette + - [`contrast_text()`](https://agdamsbo.github.io/FreesearchR/reference/contrast_text.md) : Contrast Text Color + - [`corr_pairs_validate()`](https://agdamsbo.github.io/FreesearchR/reference/corr_pairs_validate.md) : Correlation pairs validation + - [`correlation_pairs()`](https://agdamsbo.github.io/FreesearchR/reference/correlation_pairs.md) : Determine significant correlations in the data set + - [`create_column_ui()`](https://agdamsbo.github.io/FreesearchR/reference/create-column.md) [`create_column_server()`](https://agdamsbo.github.io/FreesearchR/reference/create-column.md) [`allowed_operations()`](https://agdamsbo.github.io/FreesearchR/reference/create-column.md) [`modal_create_column()`](https://agdamsbo.github.io/FreesearchR/reference/create-column.md) [`winbox_create_column()`](https://agdamsbo.github.io/FreesearchR/reference/create-column.md) : Create new column + - [`create_baseline()`](https://agdamsbo.github.io/FreesearchR/reference/create_baseline.md) : Create a baseline table + - [`create_log_tics()`](https://agdamsbo.github.io/FreesearchR/reference/create_log_tics.md) : Create summetric log ticks + - [`create_overview_datagrid()`](https://agdamsbo.github.io/FreesearchR/reference/create_overview_datagrid.md) : Create a data overview datagrid + - [`cut_variable_ui()`](https://agdamsbo.github.io/FreesearchR/reference/cut-variable.md) [`cut_variable_server()`](https://agdamsbo.github.io/FreesearchR/reference/cut-variable.md) [`modal_cut_variable()`](https://agdamsbo.github.io/FreesearchR/reference/cut-variable.md) : Module to Convert Numeric to Factor + - [`cut_methods()`](https://agdamsbo.github.io/FreesearchR/reference/cut_methods.md) : Library of cut methods with descriptions + - [`cut_var()`](https://agdamsbo.github.io/FreesearchR/reference/cut_var.md) : Extended cutting function with fall-back to the native base::cut + - [`data_correlations_ui()`](https://agdamsbo.github.io/FreesearchR/reference/data-correlations.md) [`data_correlations_server()`](https://agdamsbo.github.io/FreesearchR/reference/data-correlations.md) : Data correlations evaluation module + - [`data_missings_ui()`](https://agdamsbo.github.io/FreesearchR/reference/data-missings.md) [`data_missings_server()`](https://agdamsbo.github.io/FreesearchR/reference/data-missings.md) : Data correlations evaluation module + - [`data_visuals_ui()`](https://agdamsbo.github.io/FreesearchR/reference/data-plots.md) [`data_visuals_server()`](https://agdamsbo.github.io/FreesearchR/reference/data-plots.md) [`create_plot()`](https://agdamsbo.github.io/FreesearchR/reference/data-plots.md) @@ -249,261 +289,380 @@ No tracking data is sent running the app locally (see above). [`plot_scatter()`](https://agdamsbo.github.io/FreesearchR/reference/data-plots.md) [`plot_violin()`](https://agdamsbo.github.io/FreesearchR/reference/data-plots.md) : Data correlations evaluation module + - [`data_summary_ui()`](https://agdamsbo.github.io/FreesearchR/reference/data-summary.md) [`data_summary_server()`](https://agdamsbo.github.io/FreesearchR/reference/data-summary.md) : Data summary module + - [`data_description()`](https://agdamsbo.github.io/FreesearchR/reference/data_description.md) : Ultra short data dascription + - [`data_summary_gather()`](https://agdamsbo.github.io/FreesearchR/reference/data_summary_gather.md) : Data summary for printing visual summary + - [`data_type()`](https://agdamsbo.github.io/FreesearchR/reference/data_type.md) : Data type assessment. + - [`data_type_filter()`](https://agdamsbo.github.io/FreesearchR/reference/data_type_filter.md) : Filter function to filter data set by variable type + - [`data_types()`](https://agdamsbo.github.io/FreesearchR/reference/data_types.md) : Recognised data types from data_type + - [`default_format_arguments()`](https://agdamsbo.github.io/FreesearchR/reference/default_format_arguments.md) : Defaults qmd formats + - [`default_parsing()`](https://agdamsbo.github.io/FreesearchR/reference/default_parsing.md) : Default data parsing + - [`detect_delimiter()`](https://agdamsbo.github.io/FreesearchR/reference/detect_delimiter.md) : Detect delimiters in string based on allowed delimiters + - [`dim_change_call()`](https://agdamsbo.github.io/FreesearchR/reference/dim_change_call.md) : Dimensions validation + - [`.build_version_alert()`](https://agdamsbo.github.io/FreesearchR/reference/dot-build_version_alert.md) : Build a shinyWidgets::alert() UI element for the version banner + - [`.get_latest_github_version()`](https://agdamsbo.github.io/FreesearchR/reference/dot-get_latest_github_version.md) : Fetch the latest release version from a GitHub repository + - [`.has_internet()`](https://agdamsbo.github.io/FreesearchR/reference/dot-has_internet.md) : Check internet connectivity + - [`.resolve_app_version()`](https://agdamsbo.github.io/FreesearchR/reference/dot-resolve_app_version.md) : Resolve the current app version + - [`drop_empty_event()`](https://agdamsbo.github.io/FreesearchR/reference/drop_empty_event.md) : Drop empty events from REDCap export + - [`expression_string()`](https://agdamsbo.github.io/FreesearchR/reference/expression_string.md) : Deparses expression as string, substitutes native pipe and adds assign + - [`extract_labels()`](https://agdamsbo.github.io/FreesearchR/reference/extract_labels.md) : Extract column labels from a data frame + - [`factor_new_levels_labels()`](https://agdamsbo.github.io/FreesearchR/reference/factor_new_levels_labels.md) : Simple function to apply new levels and/or labels to factor + - [`factorize()`](https://agdamsbo.github.io/FreesearchR/reference/factorize.md) : Factorize variables in data.frame + - [`file_export()`](https://agdamsbo.github.io/FreesearchR/reference/file_export.md) : Title + - [`format_writer()`](https://agdamsbo.github.io/FreesearchR/reference/format_writer.md) : Merges list of named arguments for qmd header generation + +- [`generate_colors()`](https://agdamsbo.github.io/FreesearchR/reference/generate_colors.md) + : Generate N Colors from a Specified Color Palette + - [`get_data_packages()`](https://agdamsbo.github.io/FreesearchR/reference/get_data_packages.md) : Get packages containing datasets + - [`get_dimensions()`](https://agdamsbo.github.io/FreesearchR/reference/get_dimensions.md) : Extension of the helper function from datamods + - [`get_fun_options()`](https://agdamsbo.github.io/FreesearchR/reference/get_fun_options.md) : Get the function options based on the selected function description + - [`get_label()`](https://agdamsbo.github.io/FreesearchR/reference/get_label.md) : Print label, and if missing print variable name for plots + - [`get_list_elements()`](https://agdamsbo.github.io/FreesearchR/reference/get_list_elements.md) : Subset elements from list of lists + - [`get_plot_options()`](https://agdamsbo.github.io/FreesearchR/reference/get_plot_options.md) : Get the function options based on the selected function description + - [`get_var_icon()`](https://agdamsbo.github.io/FreesearchR/reference/get_var_icon.md) : Easily get variable icon based on data type or class + - [`getfun()`](https://agdamsbo.github.io/FreesearchR/reference/getfun.md) : Wrapper function to get function from character vector referring to function from namespace. Passed to 'do.call()' + - [`gg_theme_export()`](https://agdamsbo.github.io/FreesearchR/reference/gg_theme_export.md) : GGplot default theme for plotting export objects + - [`gg_theme_shiny()`](https://agdamsbo.github.io/FreesearchR/reference/gg_theme_shiny.md) : GGplot default theme for plotting in Shiny + - [`ggeulerr()`](https://agdamsbo.github.io/FreesearchR/reference/ggeulerr.md) : Area proportional venn diagrams + - [`grepl_fix()`](https://agdamsbo.github.io/FreesearchR/reference/grepl_fix.md) : Matches pattern to vector based on match type + - [`if_not_missing()`](https://agdamsbo.github.io/FreesearchR/reference/if_not_missing.md) : Return if available + - [`import_delim()`](https://agdamsbo.github.io/FreesearchR/reference/import-file-type.md) [`import_xls()`](https://agdamsbo.github.io/FreesearchR/reference/import-file-type.md) [`import_ods()`](https://agdamsbo.github.io/FreesearchR/reference/import-file-type.md) [`import_dta()`](https://agdamsbo.github.io/FreesearchR/reference/import-file-type.md) [`import_rds()`](https://agdamsbo.github.io/FreesearchR/reference/import-file-type.md) : Wrapper to ease data file import + - [`import_file_ui()`](https://agdamsbo.github.io/FreesearchR/reference/import-file.md) [`import_file_server()`](https://agdamsbo.github.io/FreesearchR/reference/import-file.md) : Import data from a file + - [`import_file_demo_app()`](https://agdamsbo.github.io/FreesearchR/reference/import-file_module.md) : Test app for the import_file module + - [`import_globalenv_ui()`](https://agdamsbo.github.io/FreesearchR/reference/import-globalenv.md) [`import_globalenv_server()`](https://agdamsbo.github.io/FreesearchR/reference/import-globalenv.md) : Import data from an Environment + - [`index_embed()`](https://agdamsbo.github.io/FreesearchR/reference/index_embed.md) : Split vector by an index and embed addition + - [`is_any_class()`](https://agdamsbo.github.io/FreesearchR/reference/is_any_class.md) : Test class + - [`is_consecutive()`](https://agdamsbo.github.io/FreesearchR/reference/is_consecutive.md) : Checks if elements in vector are equally spaced as indication of ID + - [`is_datetime()`](https://agdamsbo.github.io/FreesearchR/reference/is_datetime.md) : Test is date/datetime/time + - [`is_identical_to_previous()`](https://agdamsbo.github.io/FreesearchR/reference/is_identical_to_previous.md) : Test if element is identical to the previous + - [`is_splittable()`](https://agdamsbo.github.io/FreesearchR/reference/is_splittable.md) : Determine if any variable in data frame character and contains recognized delimiters + - [`is_valid_redcap_url()`](https://agdamsbo.github.io/FreesearchR/reference/is_valid_redcap_url.md) : Test if url is valid format for REDCap API + - [`is_valid_token()`](https://agdamsbo.github.io/FreesearchR/reference/is_valid_token.md) : Validate REDCap token + - [`label_report()`](https://agdamsbo.github.io/FreesearchR/reference/label_report.md) : Print a tidy summary of column labels + - [`landing_page_ui()`](https://agdamsbo.github.io/FreesearchR/reference/landing_page_ui.md) : Tag list of elements for the FreesearchR landing page + - [`launch_FreesearchR()`](https://agdamsbo.github.io/FreesearchR/reference/launch_FreesearchR.md) : Easily launch the FreesearchR app + - [`limit_data_size()`](https://agdamsbo.github.io/FreesearchR/reference/limit_data_size.md) : Limit the allowed data set size by number of cells + - [`limit_log()`](https://agdamsbo.github.io/FreesearchR/reference/limit_log.md) : Easily round log scale limits for nice plots + - [`line_break()`](https://agdamsbo.github.io/FreesearchR/reference/line_break.md) : Line breaking at given number of characters for nicely plotting labels + - [`list_pkg_data()`](https://agdamsbo.github.io/FreesearchR/reference/list_pkg_data.md) : List dataset contained in a package + - [`make_validation()`](https://agdamsbo.github.io/FreesearchR/reference/make_validation.md) : Create validation data.frame + - [`make_validation_alerts()`](https://agdamsbo.github.io/FreesearchR/reference/make_validation_alerts.md) : Create alert from validation data.frame + - [`mcar_validate()`](https://agdamsbo.github.io/FreesearchR/reference/mcar_validate.md) : MCAR validation based on a gtsummary table bady + - [`merge_expression()`](https://agdamsbo.github.io/FreesearchR/reference/merge_expression.md) : Merge list of expressions + - [`merge_long()`](https://agdamsbo.github.io/FreesearchR/reference/merge_long.md) : Wrapper to pivot gtsummary table data to long for plotting + - [`missing_fraction()`](https://agdamsbo.github.io/FreesearchR/reference/missing_fraction.md) : Get missingsness fraction + - [`missings_logic_across()`](https://agdamsbo.github.io/FreesearchR/reference/missings_logic_across.md) : Converting all variables to logicals by missing status + - [`missings_validate()`](https://agdamsbo.github.io/FreesearchR/reference/missings_validate.md) : Validate function of missingness in data + - [`modify_qmd()`](https://agdamsbo.github.io/FreesearchR/reference/modify_qmd.md) : Wrapper to modify quarto file to render specific formats + - [`names2val()`](https://agdamsbo.github.io/FreesearchR/reference/names2val.md) : Set values as names and names as values + - [`obs_filter_validate()`](https://agdamsbo.github.io/FreesearchR/reference/obs_filter_validate.md) : Observations filter test wrapper + - [`overview_vars()`](https://agdamsbo.github.io/FreesearchR/reference/overview_vars.md) : Create a data overview data.frame ready for sparklines + - [`pipe_string()`](https://agdamsbo.github.io/FreesearchR/reference/pipe_string.md) : Reduce character vector with the native pipe operator or character string + - [`plot(`*``*`)`](https://agdamsbo.github.io/FreesearchR/reference/plot.tbl_regression.md) : Regression coef plot from gtsummary. Slightly modified to pass on arguments + - [`plot_euler()`](https://agdamsbo.github.io/FreesearchR/reference/plot_euler.md) : Easily plot euler diagrams + - [`plot_euler_single()`](https://agdamsbo.github.io/FreesearchR/reference/plot_euler_single.md) : Easily plot single euler diagrams + - [`plot_sankey_single()`](https://agdamsbo.github.io/FreesearchR/reference/plot_sankey_single.md) : Beautiful sankey plot + - [`possible_functions()`](https://agdamsbo.github.io/FreesearchR/reference/possible_functions.md) : Get possible regression models + - [`possible_plots()`](https://agdamsbo.github.io/FreesearchR/reference/possible_plots.md) : Get possible regression models + - [`read_input()`](https://agdamsbo.github.io/FreesearchR/reference/read_input.md) : Flexible file import based on extension + - [`m_redcap_readUI()`](https://agdamsbo.github.io/FreesearchR/reference/redcap_read_shiny_module.md) [`m_redcap_readServer()`](https://agdamsbo.github.io/FreesearchR/reference/redcap_read_shiny_module.md) [`redcap_demo_app()`](https://agdamsbo.github.io/FreesearchR/reference/redcap_read_shiny_module.md) : Shiny module to browser and export REDCap data + - [`regression_model()`](https://agdamsbo.github.io/FreesearchR/reference/regression_model.md) [`regression_model_uv()`](https://agdamsbo.github.io/FreesearchR/reference/regression_model.md) [`regression_model_list()`](https://agdamsbo.github.io/FreesearchR/reference/regression_model.md) [`regression_model_uv_list()`](https://agdamsbo.github.io/FreesearchR/reference/regression_model.md) : Create a regression model programatically + - [`regression_table()`](https://agdamsbo.github.io/FreesearchR/reference/regression_table.md) : Create table of regression model + - [`regression_table_create()`](https://agdamsbo.github.io/FreesearchR/reference/regression_table_create.md) : Create regression summary table + - [`remove_empty_attr()`](https://agdamsbo.github.io/FreesearchR/reference/remove_empty_attr.md) : Remove empty/NA attributes + - [`remove_empty_cols()`](https://agdamsbo.github.io/FreesearchR/reference/remove_empty_cols.md) : Removes columns with completenes below cutoff + - [`remove_nested_list()`](https://agdamsbo.github.io/FreesearchR/reference/remove_nested_list.md) : Very simple function to remove nested lists, like when uploading .rds + - [`repeated_instruments()`](https://agdamsbo.github.io/FreesearchR/reference/repeated_instruments.md) : Get names of repeated instruments + - [`restore_labels()`](https://agdamsbo.github.io/FreesearchR/reference/restore_labels.md) : Restore column labels using a reference data frame + +- [`scale_fill_generate()`](https://agdamsbo.github.io/FreesearchR/reference/scale_fill_generate.md) + [`scale_color_generate()`](https://agdamsbo.github.io/FreesearchR/reference/scale_fill_generate.md) + : Discrete and Continuous Fill Scale Using generate_colors + - [`selectInputIcon()`](https://agdamsbo.github.io/FreesearchR/reference/selectInputIcon.md) : Create a select input control with icon(s) + - [`separate_string()`](https://agdamsbo.github.io/FreesearchR/reference/separate_string.md) : Separate string wide or long + - [`set_column_label()`](https://agdamsbo.github.io/FreesearchR/reference/set_column_label.md) : (Re)label columns in data.frame + - [`show_data()`](https://agdamsbo.github.io/FreesearchR/reference/show_data.md) : Display a table in a window + - [`simple_snake()`](https://agdamsbo.github.io/FreesearchR/reference/simple_snake.md) : Simplified version of the snakecase packages to_snake_case + - [`sort_by()`](https://agdamsbo.github.io/FreesearchR/reference/sort_by.md) : Drop-in replacement for the base::sort_by with option to remove NAs + - [`specify_qmd_format()`](https://agdamsbo.github.io/FreesearchR/reference/specify_qmd_format.md) : Specify format arguments to include in qmd header/frontmatter + - [`string_split_ui()`](https://agdamsbo.github.io/FreesearchR/reference/split-string.md) [`string_split_server()`](https://agdamsbo.github.io/FreesearchR/reference/split-string.md) [`modal_string_split()`](https://agdamsbo.github.io/FreesearchR/reference/split-string.md) : String split module based on tidyr::separate\_ + - [`subset_types()`](https://agdamsbo.github.io/FreesearchR/reference/subset_types.md) : Easily subset by data type function + - [`supported_functions()`](https://agdamsbo.github.io/FreesearchR/reference/supported_functions.md) : Implemented functions + - [`supported_plots()`](https://agdamsbo.github.io/FreesearchR/reference/supported_plots.md) : Implemented functions + - [`symmetrical_scale_x_log10()`](https://agdamsbo.github.io/FreesearchR/reference/symmetrical_scale_x_log10.md) : Ensure symmetrical plot around 1 on a logarithmic x scale for ratio plots + - [`tbl_merge()`](https://agdamsbo.github.io/FreesearchR/reference/tbl_merge.md) : A substitue to gtsummary::tbl_merge, that will use list names for the tab spanner names. + - [`type_icons()`](https://agdamsbo.github.io/FreesearchR/reference/type_icons.md) : Get data type icons + - [`ui_elements()`](https://agdamsbo.github.io/FreesearchR/reference/ui_elements.md) : FreesearchR UI elements list + - [`unique_names()`](https://agdamsbo.github.io/FreesearchR/reference/unique_names.md) : Make unique variable names + - [`unique_short()`](https://agdamsbo.github.io/FreesearchR/reference/unique_short.md) : Create unique short names of character vector items based on index + - [`update_factor_ui()`](https://agdamsbo.github.io/FreesearchR/reference/update-factor.md) [`update_factor_server()`](https://agdamsbo.github.io/FreesearchR/reference/update-factor.md) [`modal_update_factor()`](https://agdamsbo.github.io/FreesearchR/reference/update-factor.md) [`winbox_update_factor()`](https://agdamsbo.github.io/FreesearchR/reference/update-factor.md) : Module to Reorder the Levels of a Factor Variable + - [`update_variables_ui()`](https://agdamsbo.github.io/FreesearchR/reference/update-variables.md) [`update_variables_server()`](https://agdamsbo.github.io/FreesearchR/reference/update-variables.md) : Select, rename and convert variables + - [`update_variables_datagrid()`](https://agdamsbo.github.io/FreesearchR/reference/update_variables_datagrid.md) : Modified from the datamods pacakge + - [`validation_ui()`](https://agdamsbo.github.io/FreesearchR/reference/validation.md) [`validation_server()`](https://agdamsbo.github.io/FreesearchR/reference/validation.md) : Validation module + - [`validation_lib()`](https://agdamsbo.github.io/FreesearchR/reference/validation_lib.md) : Validation library + - [`vars_filter_validate()`](https://agdamsbo.github.io/FreesearchR/reference/vars_filter_validate.md) : Variable filter test wrapper + - [`vectorSelectInput()`](https://agdamsbo.github.io/FreesearchR/reference/vectorSelectInput.md) : A selectizeInput customized for named vectors + - [`vertical_stacked_bars()`](https://agdamsbo.github.io/FreesearchR/reference/vertical_stacked_bars.md) : Vertical stacked bar plot wrapper + - [`visual_summary_ui()`](https://agdamsbo.github.io/FreesearchR/reference/visual-summary.md) [`visual_summary_server()`](https://agdamsbo.github.io/FreesearchR/reference/visual-summary.md) [`modal_visual_summary()`](https://agdamsbo.github.io/FreesearchR/reference/visual-summary.md) [`missings_apex_plot()`](https://agdamsbo.github.io/FreesearchR/reference/visual-summary.md) [`visual_summary()`](https://agdamsbo.github.io/FreesearchR/reference/visual-summary.md) : Data correlations evaluation module + - [`wide2long()`](https://agdamsbo.github.io/FreesearchR/reference/wide2long.md) : Alternative pivoting method for easily pivoting based on name pattern + - [`with_labels()`](https://agdamsbo.github.io/FreesearchR/reference/with_labels.md) : Evaluate an expression while preserving column labels + - [`wrap_plot_list()`](https://agdamsbo.github.io/FreesearchR/reference/wrap_plot_list.md) : Wrapping + - [`write_quarto()`](https://agdamsbo.github.io/FreesearchR/reference/write_quarto.md) : Wrapper to save data in RDS, load into specified qmd and render diff --git a/news/index.html b/news/index.html index 74c3fcd7..533c1656 100644 --- a/news/index.html +++ b/news/index.html @@ -43,8 +43,9 @@

FreesearchR 26.3.4

+

NEW Color select for plotting across all plots for even more option. Ten palettes have been chosen, to provide varied and interpretable options. The selector will always show a preview of four colors.

NEW Added app version check against latest release on GitHub. Only runs if internet connection present. No other polling.

-

NEW Added a “Missing” level to the sankey plot function and adjusted the label font size.

+

NEW Added a “Missing” level to the sankey plot function and adjusted the label font size. And fixed support for dichotomous data.

FreesearchR 26.3.3

diff --git a/news/index.md b/news/index.md index b006c92b..65b0cf74 100644 --- a/news/index.md +++ b/news/index.md @@ -2,11 +2,15 @@ ## FreesearchR 26.3.4 +*NEW* Color select for plotting across all plots for even more option. +Ten palettes have been chosen, to provide varied and interpretable +options. The selector will always show a preview of four colors. + *NEW* Added app version check against latest release on GitHub. Only runs if internet connection present. No other polling. *NEW* Added a “Missing” level to the sankey plot function and adjusted -the label font size. +the label font size. And fixed support for dichotomous data. ## FreesearchR 26.3.3 diff --git a/pkgdown.yml b/pkgdown.yml index 967898cd..378d6978 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -7,7 +7,7 @@ articles: missingness: missingness.html session: session.html visuals: visuals.html -last_built: 2026-03-23T13:48Z +last_built: 2026-03-24T13:14Z urls: reference: https://agdamsbo.github.io/FreesearchR/reference article: https://agdamsbo.github.io/FreesearchR/articles diff --git a/reference/colorSelectInput.html b/reference/colorSelectInput.html new file mode 100644 index 00000000..aad458b3 --- /dev/null +++ b/reference/colorSelectInput.html @@ -0,0 +1,159 @@ + +A selectizeInput customized for named vectors of color names supported by generate_colors — colorSelectInput • FreesearchR + Skip to contents + + +
+
+
+ +
+

A selectizeInput customized for named vectors of color names supported by +generate_colors

+
+ +
+

Usage

+
colorSelectInput(
+  inputId,
+  label,
+  choices,
+  selected = "",
+  previews = 4,
+  ...,
+  placeholder = ""
+)
+
+ +
+

Arguments

+ + +
inputId
+

passed to selectizeInput

+ + +
label
+

passed to selectizeInput

+ + +
choices
+

A named vector from which fields should be populated

+ + +
selected
+

default selection

+ + +
previews
+

number of preview colors. Default is 4.

+ + +
...
+

passed to selectizeInput

+ + +
placeholder
+

passed to selectizeInput options

+ + +
onInitialize
+

passed to selectizeInput options

+ +
+
+

Value

+

a selectizeInput dropdown element

+
+ +
+

Examples

+
if (shiny::interactive()) {
+top_palettes <- c(
+"Perceptual (blue-yellow)"   = "viridis",
+"Perceptual (fire)"          = "plasma",
+"Colour-blind friendly"      = "Okabe-Ito",
+"Qualitative (bold)"         = "Dark 2",
+"Qualitative (paired)"       = "Paired",
+"Sequential (blues)"         = "Blues",
+"Diverging (red-blue)"       = "RdBu",
+"Tableau style"              = "Tableau 10",
+"Pastel"                     = "Pastel 1",
+"Rainbow"                    = "rainbow"
+)
+  shinyApp(
+    ui = fluidPage(
+    titlePanel("Color Palette Select Test"),
+    colorSelectInput(
+      inputId  = "palette",
+      label    = "Color palette",
+      choices  = top_palettes,
+      selected = "viridis"
+    ),
+    verbatimTextOutput("selected")
+    ),
+    server = function(input, output, session) {
+    output$selected <- renderPrint(input$palette)
+    }
+  )
+}
+#> Error: 'interactive' is not an exported object from 'namespace:shiny'
+
+
+
+ + +
+ + + +
+ + + + + + + diff --git a/reference/colorSelectInput.md b/reference/colorSelectInput.md new file mode 100644 index 00000000..d92e9797 --- /dev/null +++ b/reference/colorSelectInput.md @@ -0,0 +1,100 @@ +# A selectizeInput customized for named vectors of color names supported by [`generate_colors`](https://agdamsbo.github.io/FreesearchR/reference/generate_colors.md) + +A selectizeInput customized for named vectors of color names supported +by +[`generate_colors`](https://agdamsbo.github.io/FreesearchR/reference/generate_colors.md) + +## Usage + +``` r +colorSelectInput( + inputId, + label, + choices, + selected = "", + previews = 4, + ..., + placeholder = "" +) +``` + +## Arguments + +- inputId: + + passed to + [`selectizeInput`](https://rdrr.io/pkg/shiny/man/selectInput.html) + +- label: + + passed to + [`selectizeInput`](https://rdrr.io/pkg/shiny/man/selectInput.html) + +- choices: + + A named `vector` from which fields should be populated + +- selected: + + default selection + +- previews: + + number of preview colors. Default is 4. + +- ...: + + passed to + [`selectizeInput`](https://rdrr.io/pkg/shiny/man/selectInput.html) + +- placeholder: + + passed to + [`selectizeInput`](https://rdrr.io/pkg/shiny/man/selectInput.html) + options + +- onInitialize: + + passed to + [`selectizeInput`](https://rdrr.io/pkg/shiny/man/selectInput.html) + options + +## Value + +a [`selectizeInput`](https://rdrr.io/pkg/shiny/man/selectInput.html) +dropdown element + +## Examples + +``` r +if (shiny::interactive()) { +top_palettes <- c( +"Perceptual (blue-yellow)" = "viridis", +"Perceptual (fire)" = "plasma", +"Colour-blind friendly" = "Okabe-Ito", +"Qualitative (bold)" = "Dark 2", +"Qualitative (paired)" = "Paired", +"Sequential (blues)" = "Blues", +"Diverging (red-blue)" = "RdBu", +"Tableau style" = "Tableau 10", +"Pastel" = "Pastel 1", +"Rainbow" = "rainbow" +) + shinyApp( + ui = fluidPage( + titlePanel("Color Palette Select Test"), + colorSelectInput( + inputId = "palette", + label = "Color palette", + choices = top_palettes, + selected = "viridis" + ), + verbatimTextOutput("selected") + ), + server = function(input, output, session) { + output$selected <- renderPrint(input$palette) + } + ) +} +#> Error: 'interactive' is not an exported object from 'namespace:shiny' +``` diff --git a/reference/continuous_colors.html b/reference/continuous_colors.html new file mode 100644 index 00000000..99e0d347 --- /dev/null +++ b/reference/continuous_colors.html @@ -0,0 +1,129 @@ + +Create a Continuous Color Function from a Palette — continuous_colors • FreesearchR + Skip to contents + + +
+
+
+ +
+

Wraps generate_colors into a function that accepts a value +between 0 and 1 and returns the corresponding color. Useful for mapping +continuous variables to colors.

+
+ +
+

Usage

+
continuous_colors(palette = "viridis", n = 256, ...)
+
+ +
+

Arguments

+ + +
palette
+

Passed directly to generate_colors(). Either a palette +name string or a function.

+ + +
n
+

integer. Resolution of the underlying color ramp — higher +values give smoother gradients. Defaults to 256.

+ + +
...
+

Additional arguments passed to generate_colors().

+ +
+
+

Value

+

A function that takes a numeric vector of values in [0, 1] +and returns a character vector of hex colors.

+
+
+

See also

+ +
+ +
+

Examples

+
pal <- continuous_colors("viridis")
+pal(0)    # first color
+#> [1] "#440154"
+pal(1)    # last color
+#> [1] "#FDE725"
+pal(0.5)  # midpoint
+#> [1] "#21908C"
+
+# Map a continuous variable to colors
+values <- seq(0, 1, length.out = 10)
+pal(values)
+#>  [1] "#440154" "#482878" "#3E4989" "#31688E" "#25828E" "#1E9D89" "#35B779"
+#>  [8] "#6CCD59" "#B4DD2B" "#FDE725"
+
+# Works with any palette generate_colors() accepts
+pal <- continuous_colors("plasma", direction = -1)
+pal <- continuous_colors(\(n) hcl.colors(n, palette = "Blue-Red"))
+
+
+
+
+ + +
+ + + +
+ + + + + + + diff --git a/reference/continuous_colors.md b/reference/continuous_colors.md new file mode 100644 index 00000000..473debdf --- /dev/null +++ b/reference/continuous_colors.md @@ -0,0 +1,61 @@ +# Create a Continuous Color Function from a Palette + +Wraps +[`generate_colors`](https://agdamsbo.github.io/FreesearchR/reference/generate_colors.md) +into a function that accepts a value between 0 and 1 and returns the +corresponding color. Useful for mapping continuous variables to colors. + +## Usage + +``` r +continuous_colors(palette = "viridis", n = 256, ...) +``` + +## Arguments + +- palette: + + Passed directly to + [`generate_colors()`](https://agdamsbo.github.io/FreesearchR/reference/generate_colors.md). + Either a palette name string or a function. + +- n: + + `integer`. Resolution of the underlying color ramp — higher values + give smoother gradients. Defaults to 256. + +- ...: + + Additional arguments passed to + [`generate_colors()`](https://agdamsbo.github.io/FreesearchR/reference/generate_colors.md). + +## Value + +A function that takes a numeric vector of values in `[0, 1]` and returns +a character vector of hex colors. + +## See also + +[`generate_colors()`](https://agdamsbo.github.io/FreesearchR/reference/generate_colors.md) + +## Examples + +``` r +pal <- continuous_colors("viridis") +pal(0) # first color +#> [1] "#440154" +pal(1) # last color +#> [1] "#FDE725" +pal(0.5) # midpoint +#> [1] "#21908C" + +# Map a continuous variable to colors +values <- seq(0, 1, length.out = 10) +pal(values) +#> [1] "#440154" "#482878" "#3E4989" "#31688E" "#25828E" "#1E9D89" "#35B779" +#> [8] "#6CCD59" "#B4DD2B" "#FDE725" + +# Works with any palette generate_colors() accepts +pal <- continuous_colors("plasma", direction = -1) +pal <- continuous_colors(\(n) hcl.colors(n, palette = "Blue-Red")) +``` diff --git a/reference/data-plots-1.png b/reference/data-plots-1.png index 82347fed..f03d4db3 100644 Binary files a/reference/data-plots-1.png and b/reference/data-plots-1.png differ diff --git a/reference/data-plots-10.png b/reference/data-plots-10.png index bb038813..64e6c08e 100644 Binary files a/reference/data-plots-10.png and b/reference/data-plots-10.png differ diff --git a/reference/data-plots-11.png b/reference/data-plots-11.png index 505c10cc..bb038813 100644 Binary files a/reference/data-plots-11.png and b/reference/data-plots-11.png differ diff --git a/reference/data-plots-12.png b/reference/data-plots-12.png index 05ba7c57..e6714b3a 100644 Binary files a/reference/data-plots-12.png and b/reference/data-plots-12.png differ diff --git a/reference/data-plots-13.png b/reference/data-plots-13.png index 6cd1edf5..05ba7c57 100644 Binary files a/reference/data-plots-13.png and b/reference/data-plots-13.png differ diff --git a/reference/data-plots-14.png b/reference/data-plots-14.png index cfc7dfc6..6cd1edf5 100644 Binary files a/reference/data-plots-14.png and b/reference/data-plots-14.png differ diff --git a/reference/data-plots-15.png b/reference/data-plots-15.png index 7ad7b167..cfc7dfc6 100644 Binary files a/reference/data-plots-15.png and b/reference/data-plots-15.png differ diff --git a/reference/data-plots-16.png b/reference/data-plots-16.png index 5377240c..7ad7b167 100644 Binary files a/reference/data-plots-16.png and b/reference/data-plots-16.png differ diff --git a/reference/data-plots-17.png b/reference/data-plots-17.png index 58808c8b..bf1122de 100644 Binary files a/reference/data-plots-17.png and b/reference/data-plots-17.png differ diff --git a/reference/data-plots-18.png b/reference/data-plots-18.png index ae1d5eed..58808c8b 100644 Binary files a/reference/data-plots-18.png and b/reference/data-plots-18.png differ diff --git a/reference/data-plots-19.png b/reference/data-plots-19.png new file mode 100644 index 00000000..b4b50302 Binary files /dev/null and b/reference/data-plots-19.png differ diff --git a/reference/data-plots-2.png b/reference/data-plots-2.png index 15c89b57..f50a2236 100644 Binary files a/reference/data-plots-2.png and b/reference/data-plots-2.png differ diff --git a/reference/data-plots-20.png b/reference/data-plots-20.png new file mode 100644 index 00000000..b5563360 Binary files /dev/null and b/reference/data-plots-20.png differ diff --git a/reference/data-plots-6.png b/reference/data-plots-6.png index 44127527..183524b6 100644 Binary files a/reference/data-plots-6.png and b/reference/data-plots-6.png differ diff --git a/reference/data-plots-7.png b/reference/data-plots-7.png index 25a86227..f34a6002 100644 Binary files a/reference/data-plots-7.png and b/reference/data-plots-7.png differ diff --git a/reference/data-plots-8.png b/reference/data-plots-8.png index 4a5ac605..25a86227 100644 Binary files a/reference/data-plots-8.png and b/reference/data-plots-8.png differ diff --git a/reference/data-plots-9.png b/reference/data-plots-9.png index 584811d6..387dbbd9 100644 Binary files a/reference/data-plots-9.png and b/reference/data-plots-9.png differ diff --git a/reference/data-plots.html b/reference/data-plots.html index 5ddc8172..ac247fb3 100644 --- a/reference/data-plots.html +++ b/reference/data-plots.html @@ -9,7 +9,7 @@ Plot nice ridge plot Readying data for sankey plot Beautiful sankey plot with option to split by a tertiary group Beautiful violin plot -Beatiful violin plot"> +Beautiful violin plot"> Skip to contents @@ -73,32 +73,42 @@ Beatiful violin plot">

Usage

data_visuals_ui(id, tab_title = "Plots", ...)
 
-data_visuals_server(id, data, ...)
+data_visuals_server(
+  id,
+  data,
+  palettes = c(`Perceptual (blue-yellow)` = "viridis", `Perceptual (fire)` = "plasma",
+    `Colour-blind friendly` = "Okabe-Ito", `Qualitative (bold)` = "Dark 2",
+    `Qualitative (paired)` = "Paired", `Sequential (blues)` = "Blues",
+    `Diverging (red-blue)` = "RdBu", `Tableau style` = "Tableau 10", Pastel = "Pastel 1",
+    Rainbow = "rainbow"),
+  ...
+)
 
-create_plot(data, type, pri, sec, ter = NULL, ...)
+create_plot(data, type, pri, sec, ter = NULL, color.palette = "viridis", ...)
 
 plot_bar_single(
   data,
   pri,
   sec = NULL,
   style = c("stack", "dodge", "fill"),
-  max_level = 30
+  max_level = 30,
+  color.palette = "viridis"
 )
 
-plot_box(data, pri, sec, ter = NULL, ...)
+plot_box(data, pri, sec, ter = NULL, color.palette = "viridis", ...)
 
-plot_box_single(data, pri, sec = NULL, seed = 2103)
+plot_box_single(data, pri, sec = NULL, seed = 2103, color.palette = "viridis")
 
-plot_hbars(data, pri, sec, ter = NULL)
+plot_hbars(data, pri, sec, ter = NULL, color.palette = "viridis")
 
-plot_ridge(data, x, y, z = NULL, ...)
+plot_ridge(data, x, y, z = NULL, color.palette = "viridis", ...)
 
 sankey_ready(data, pri, sec, numbers = "count", ...)
 
@@ -109,12 +119,16 @@ Beatiful violin plot">= NULL,
   color.group = "pri",
   colors = NULL,
+  color.palette = "viridis",
+  default.color = "#2986cc",
+  box.color = "#1E4B66",
+  na.color = "grey80",
   missing.level = "Missing"
 )
 
-plot_scatter(data, pri, sec, ter = NULL)
+plot_scatter(data, pri, sec, ter = NULL, color.palette = "viridis")
 
-plot_violin(data, pri, sec, ter = NULL)
+plot_violin(data, pri, sec, ter = NULL, color.palette = "viridis")
@@ -149,6 +163,10 @@ Beatiful violin plot">color.palette +

choose color palette. See plot_colors for support.

+ +
style

barplot style passed to geom_bar position argument. One of c("stack", "dodge", "fill")

@@ -732,10 +750,11 @@ One of c("stack", "dodge", "fill")

#> list() #> #> $plot_env -#> <environment: 0x55fda1fb5b88> +#> <environment: 0x5578ebf42900> #> #> $code -#> FreesearchR::plot_violin(pri = "mpg", sec = "cyl", ter = NULL) +#> FreesearchR::plot_violin(pri = "mpg", sec = "cyl", ter = NULL, +#> color.palette = "viridis") #> mtcars |> dplyr::mutate(cyl = factor(cyl), am = factor(am)) |> @@ -744,7 +763,7 @@ One of c("stack", "dodge", "fill")

mtcars |> dplyr::mutate(cyl = factor(cyl), am = factor(am)) |> - plot_bar_single(pri = "cyl", style = "stack") + plot_bar_single(pri = "cyl", style = "stack",color.palette="turbo") mtcars |> plot_box(pri = "mpg", sec = "gear") @@ -760,31 +779,49 @@ One of c("stack", "dodge", "fill")

#> Error in plot_box(default_parsing(mtcars), pri = "mpg", sec = "cyl", ter = "gear", axis.font.family = "mono"): object 'i18n' not found mtcars |> plot_box_single("mpg") -mtcars |> plot_box_single("mpg","cyl") +mtcars |> plot_box_single("mpg","cyl",color.palette="Blues") +stRoke::trial |> plot_box_single("age","active",color.palette="Blues") + gtsummary::trial |> plot_box_single("age","trt") #> Warning: Removed 11 rows containing non-finite outside the scale range #> (`stat_boxplot()`). #> Warning: Removed 11 rows containing missing values or values outside the scale range #> (`geom_point()`). - + mtcars |> plot_hbars(pri = "carb", sec = "cyl") #> Scale for fill is already present. #> Adding another scale for fill, which will replace the existing scale. - +#> Error in ggplot2::geom_text(data = .x$rectData[which(.x$rectData$n > 0), ], size = t.size, fontface = "plain", ggplot2::aes(x = group, y = p_prev + 0.49 * p, color = contrast_cut, label = glue::glue(label.str))): Problem while computing aesthetics. +#> Error occurred in the 3rd layer. +#> Caused by error in `check_aesthetics()`: +#> ! Aesthetics must be either length 1 or the same as the data (9). +#> Fix the following mappings: `colour`. mtcars |> plot_hbars(pri = "carb", sec = "cyl", ter="am") #> Scale for fill is already present. #> Adding another scale for fill, which will replace the existing scale. +#> Error in ggplot2::geom_text(data = .x$rectData[which(.x$rectData$n > 0), ], size = t.size, fontface = "plain", ggplot2::aes(x = group, y = p_prev + 0.49 * p, color = contrast_cut, label = glue::glue(label.str))): Problem while computing aesthetics. +#> Error occurred in the 3rd layer. +#> Caused by error in `check_aesthetics()`: +#> ! Aesthetics must be either length 1 or the same as the data (13). +#> Fix the following mappings: `colour`. +mtcars |> plot_hbars(pri = "carb", sec = NULL,color.palette="Blues") +#> Scale for fill is already present. +#> Adding another scale for fill, which will replace the existing scale. -mtcars |> plot_hbars(pri = "carb", sec = NULL) +mtcars |> plot_hbars(pri = "carb", sec = NULL,color.palette="Magma") #> Scale for fill is already present. #> Adding another scale for fill, which will replace the existing scale. +mtcars |> plot_hbars(pri = "carb", sec = NULL,color.palette="Viridis") +#> Scale for fill is already present. +#> Adding another scale for fill, which will replace the existing scale. + mtcars |> default_parsing() |> plot_ridge(x = "mpg", y = "cyl") #> Picking joint bandwidth of 1.38 - + mtcars |> plot_ridge(x = "mpg", y = "cyl", z = "gear") #> Picking joint bandwidth of 1.52 #> Warning: The following aesthetics were dropped during statistical transformation: y and @@ -864,38 +901,42 @@ One of c("stack", "dodge", "fill")

ds <- data.frame(g = sample(LETTERS[1:2], 100, TRUE), first = REDCapCAST::as_factor(sample(letters[1:4], 100, TRUE)), last = REDCapCAST::as_factor(sample(letters[1:4], 100, TRUE))) ds |> plot_sankey("first", "last") #> Loading required package: ggplot2 - -ds |> plot_sankey("first", "last", color.group = "sec") +ds |> plot_sankey("first", "last", color.group = "sec") + ds |> plot_sankey("first", "last", ter = "g", color.group = "sec") #> Warning: Some strata appear at multiple axes. #> Warning: Some strata appear at multiple axes. #> Warning: Some strata appear at multiple axes. - + mtcars |> default_parsing() |> plot_sankey("cyl", "gear", "am", color.group = "pri") #> Warning: Some strata appear at multiple axes. #> Warning: Some strata appear at multiple axes. #> Warning: Some strata appear at multiple axes. - + ## In this case, the last plot as the secondary variable in wrong order ## Dont know why... mtcars |> default_parsing() |> - plot_sankey("cyl", "gear", "vs", color.group = "pri") + plot_sankey("cyl", "gear", "vs", color.group = "pri",color.palette="inferno") #> Warning: Some strata appear at multiple axes. #> Warning: Some strata appear at multiple axes. #> Warning: Some strata appear at multiple axes. - - - # stRoke::trial |> plot_sankey("mrs_1", "mrs_6") + mtcars |> plot_scatter(pri = "mpg", sec = "wt") #> Ignoring unknown labels: #> legend.title : "" - -mtcars |> plot_violin(pri = "mpg", sec = "cyl", ter = "gear") -#> Error in plot_violin(mtcars, pri = "mpg", sec = "cyl", ter = "gear"): object 'i18n' not found + +mtcars |> plot_scatter(pri = "mpg", sec = "wt",ter="carb") +#> Ignoring unknown labels: +#> legend.title : "" + +mtcars |> plot_violin(pri = "mpg", sec = "cyl") + +mtcars |> plot_violin(pri = "mpg", sec = "cyl", ter = "gear", color.palette="Blues") +#> Error in plot_violin(mtcars, pri = "mpg", sec = "cyl", ter = "gear", color.palette = "Blues"): object 'i18n' not found