Deploying to gh-pages from @ agdamsbo/FreesearchR@75f2ae07b7 🚀

This commit is contained in:
agdamsbo 2026-03-30 18:46:00 +00:00
commit 7812bc69fa
194 changed files with 999 additions and 560 deletions

View file

@ -12,6 +12,8 @@ Create nice box-plots
Nice horizontal stacked bars (Grotta bars)
Nice horizontal bar plot centred on the central category
Plot nice ridge plot
Readying data for sankey plot
@ -55,6 +57,8 @@ plot_box_single(data, pri, sec = NULL, seed = 2103, color.palette = "viridis")
plot_hbars(data, pri, sec, ter = NULL, color.palette = "viridis")
plot_likert(data, pri, sec = NULL, ter = NULL, color.palette = "viridis")
plot_ridge(data, x, y, z = NULL, color.palette = "viridis", ...)
sankey_ready(data, pri, sec, numbers = "count", ...)
@ -135,6 +139,8 @@ ggplot2 object
ggplot2 object
ggplot2 object
data.frame
ggplot2 object
@ -706,7 +712,7 @@ create_plot(mtcars, "plot_violin", "mpg", "cyl") |> attributes()
#> list()
#>
#> $plot_env
#> <environment: 0x5578ebf42900>
#> <environment: 0x5612160723b8>
#>
#> $code
#> FreesearchR::plot_violin(pri = "mpg", sec = "cyl", ter = NULL,
@ -773,6 +779,38 @@ 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 |> plot_likert(pri = "carb", sec = "cyl")
#> Scale for fill is already present.
#> Adding another scale for fill, which will replace the existing scale.
mtcars |> plot_likert(pri = "carb", sec = "cyl", ter="am")
#> Scale for fill is already present.
#> Adding another scale for fill, which will replace the existing scale.
#> Scale for fill is already present.
#> Adding another scale for fill, which will replace the existing scale.
#> Scale for x is already present.
#> Adding another scale for x, which will replace the existing scale.
#> Scale for y is already present.
#> Adding another scale for y, which will replace the existing scale.
#> Scale for x is already present.
#> Adding another scale for x, which will replace the existing scale.
#> Scale for y is already present.
#> Adding another scale for y, which will replace the existing scale.
#> Error in plot_likert(mtcars, pri = "carb", sec = "cyl", ter = "am"): object 'i18n' not found
mtcars |> plot_likert(pri = "cyl",color.palette="Blues")
#> Error in dplyr::mutate(data, dplyr::bind_cols(forcats::fct_unify(data[, variables]))): In argument: `dplyr::bind_cols(forcats::fct_unify(data[,
#> variables]))`.
#> Caused by error in `forcats::fct_unify()`:
#> ! `fs` must be a list, not a <factor> object.
mtcars |> plot_likert(pri = "carb", sec = NULL,color.palette="Magma")
#> Error in dplyr::mutate(data, dplyr::bind_cols(forcats::fct_unify(data[, variables]))): In argument: `dplyr::bind_cols(forcats::fct_unify(data[,
#> variables]))`.
#> Caused by error in `forcats::fct_unify()`:
#> ! `fs` must be a list, not a <factor> object.
mtcars |> plot_likert(pri = "carb", sec = c("cyl","am"),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")