diff --git a/404.html b/404.html index 65ee87f..d3343bd 100644 --- a/404.html +++ b/404.html @@ -40,7 +40,7 @@ certeplot2 - 1.23.3 + 1.23.4 diff --git a/LICENSE.html b/LICENSE.html index 77d6f36..df9ded6 100644 --- a/LICENSE.html +++ b/LICENSE.html @@ -17,7 +17,7 @@ certeplot2 - 1.23.3 + 1.23.4 diff --git a/apple-touch-icon-120x120.png b/apple-touch-icon-120x120.png index 1e73d2e..d720a86 100644 Binary files a/apple-touch-icon-120x120.png and b/apple-touch-icon-120x120.png differ diff --git a/apple-touch-icon-152x152.png b/apple-touch-icon-152x152.png index dce75e9..4416eac 100644 Binary files a/apple-touch-icon-152x152.png and b/apple-touch-icon-152x152.png differ diff --git a/apple-touch-icon-180x180.png b/apple-touch-icon-180x180.png index 309e0ab..5d3298a 100644 Binary files a/apple-touch-icon-180x180.png and b/apple-touch-icon-180x180.png differ diff --git a/apple-touch-icon-60x60.png b/apple-touch-icon-60x60.png index b9640c3..99b3927 100644 Binary files a/apple-touch-icon-60x60.png and b/apple-touch-icon-60x60.png differ diff --git a/apple-touch-icon-76x76.png b/apple-touch-icon-76x76.png index ee32b53..78a66f7 100644 Binary files a/apple-touch-icon-76x76.png and b/apple-touch-icon-76x76.png differ diff --git a/apple-touch-icon.png b/apple-touch-icon.png index d5789f5..f39cc99 100644 Binary files a/apple-touch-icon.png and b/apple-touch-icon.png differ diff --git a/articles/index.html b/articles/index.html index 87a429e..655be02 100644 --- a/articles/index.html +++ b/articles/index.html @@ -17,7 +17,7 @@ certeplot2 - 1.23.3 + 1.23.4 diff --git a/articles/plot2.html b/articles/plot2.html index 56918a0..13d3eec 100644 --- a/articles/plot2.html +++ b/articles/plot2.html @@ -41,7 +41,7 @@ certeplot2 - 1.23.3 + 1.23.4 @@ -237,7 +237,7 @@

Setting plot type / geom plot2() #> i Using x = x #> i Assuming type = "histogram" since the data has only one numeric variable and no other variables -#> i Using binwidth = 0.352 based on data +#> i Using binwidth = 0.266 based on data #> i Assuming smooth = TRUE for type = "histogram"

If there are multiple y values for each x, the default will be a @@ -414,16 +414,16 @@

Dates on x#> # A tibble: 1,461 × 2 #> x y #> <date> <dbl> -#> 1 2020-01-01 0.921 -#> 2 2020-01-02 1.04 -#> 3 2020-01-03 0.816 -#> 4 2020-01-04 1.17 -#> 5 2020-01-05 1.15 -#> 6 2020-01-06 0.943 -#> 7 2020-01-07 1.19 -#> 8 2020-01-08 0.982 -#> 9 2020-01-09 0.895 -#> 10 2020-01-10 1.01 +#> 1 2020-01-01 0.966 +#> 2 2020-01-02 0.809 +#> 3 2020-01-03 0.902 +#> 4 2020-01-04 1.03 +#> 5 2020-01-05 0.839 +#> 6 2020-01-06 0.872 +#> 7 2020-01-07 1.00 +#> 8 2020-01-08 1.06 +#> 9 2020-01-09 1.04 +#> 10 2020-01-10 1.15 #> # ℹ 1,451 more rows sample_df |> plot2(x, y, type = "l", @@ -488,12 +488,12 @@

stringsAsFactors = FALSE) head(character_z) #> x y z -#> 1 a 4.372650 K -#> 2 b 5.278093 L -#> 3 c 4.141859 K -#> 4 d 5.460085 L -#> 5 e 6.152170 K -#> 6 a 4.768874 L +#> 1 a 3.977134 K +#> 2 b 4.580369 L +#> 3 c 4.860265 K +#> 4 d 7.360265 L +#> 5 e 6.505905 K +#> 6 a 6.669713 L numeric_z <- data.frame(x = rep(letters[1:5], 10), y = rnorm(50, 5), @@ -502,12 +502,12 @@

stringsAsFactors = FALSE) head(numeric_z) #> x y z -#> 1 a 5.092418 5.581068 -#> 2 b 4.171396 5.884658 -#> 3 c 5.692387 7.179757 -#> 4 d 4.555346 7.010165 -#> 5 e 6.214018 4.144963 -#> 6 a 6.511959 5.231594 +#> 1 a 5.560316 5.710907 +#> 2 b 4.550390 4.933370 +#> 3 c 5.218635 5.288974 +#> 4 d 5.626540 6.742296 +#> 5 e 4.471052 4.181888 +#> 6 a 6.423134 4.608904 character_z |> plot2(x, y, z, type = "jitter", @@ -531,7 +531,7 @@

plot2(x, y, z, type = "jitter", colour = c("red", "green", "blue")) -#> i Using category.midpoint = 4.95 (the current category scale centre) +#> i Using category.midpoint = 4.88 (the current category scale centre)

 numeric_z |>  
@@ -900,18 +900,18 @@ 

Setting the values of y= round(runif(40, min = 10, max = 100))) head(df, n = 12) #> group size -#> 1 A 78 -#> 2 A 25 -#> 3 A 24 -#> 4 A 99 -#> 5 A 27 -#> 6 A 62 -#> 7 A 34 -#> 8 A 91 -#> 9 A 25 -#> 10 A 78 -#> 11 B 24 -#> 12 B 37 +#> 1 A 67 +#> 2 A 22 +#> 3 A 55 +#> 4 A 96 +#> 5 A 96 +#> 6 A 39 +#> 7 A 71 +#> 8 A 17 +#> 9 A 54 +#> 10 A 47 +#> 11 B 75 +#> 12 B 73 df |> plot2(group, max(size))

diff --git a/articles/plot2_files/figure-html/unnamed-chunk-10-1.png b/articles/plot2_files/figure-html/unnamed-chunk-10-1.png index 5673c58..958e7c2 100644 Binary files a/articles/plot2_files/figure-html/unnamed-chunk-10-1.png and b/articles/plot2_files/figure-html/unnamed-chunk-10-1.png differ diff --git a/articles/plot2_files/figure-html/unnamed-chunk-10-2.png b/articles/plot2_files/figure-html/unnamed-chunk-10-2.png index 7b5706d..4eff464 100644 Binary files a/articles/plot2_files/figure-html/unnamed-chunk-10-2.png and b/articles/plot2_files/figure-html/unnamed-chunk-10-2.png differ diff --git a/articles/plot2_files/figure-html/unnamed-chunk-12-1.png b/articles/plot2_files/figure-html/unnamed-chunk-12-1.png index 6554401..b2b3a74 100644 Binary files a/articles/plot2_files/figure-html/unnamed-chunk-12-1.png and b/articles/plot2_files/figure-html/unnamed-chunk-12-1.png differ diff --git a/articles/plot2_files/figure-html/unnamed-chunk-12-2.png b/articles/plot2_files/figure-html/unnamed-chunk-12-2.png index a069b11..f94bcc7 100644 Binary files a/articles/plot2_files/figure-html/unnamed-chunk-12-2.png and b/articles/plot2_files/figure-html/unnamed-chunk-12-2.png differ diff --git a/articles/plot2_files/figure-html/unnamed-chunk-14-1.png b/articles/plot2_files/figure-html/unnamed-chunk-14-1.png index aa59d0b..3a30446 100644 Binary files a/articles/plot2_files/figure-html/unnamed-chunk-14-1.png and b/articles/plot2_files/figure-html/unnamed-chunk-14-1.png differ diff --git a/articles/plot2_files/figure-html/unnamed-chunk-14-2.png b/articles/plot2_files/figure-html/unnamed-chunk-14-2.png index c0cac44..e7d8667 100644 Binary files a/articles/plot2_files/figure-html/unnamed-chunk-14-2.png and b/articles/plot2_files/figure-html/unnamed-chunk-14-2.png differ diff --git a/articles/plot2_files/figure-html/unnamed-chunk-15-1.png b/articles/plot2_files/figure-html/unnamed-chunk-15-1.png index 8e32df7..b3578d2 100644 Binary files a/articles/plot2_files/figure-html/unnamed-chunk-15-1.png and b/articles/plot2_files/figure-html/unnamed-chunk-15-1.png differ diff --git a/articles/plot2_files/figure-html/unnamed-chunk-15-2.png b/articles/plot2_files/figure-html/unnamed-chunk-15-2.png index 29f1315..ece2668 100644 Binary files a/articles/plot2_files/figure-html/unnamed-chunk-15-2.png and b/articles/plot2_files/figure-html/unnamed-chunk-15-2.png differ diff --git a/articles/plot2_files/figure-html/unnamed-chunk-16-1.png b/articles/plot2_files/figure-html/unnamed-chunk-16-1.png index 8f06def..901b72c 100644 Binary files a/articles/plot2_files/figure-html/unnamed-chunk-16-1.png and b/articles/plot2_files/figure-html/unnamed-chunk-16-1.png differ diff --git a/articles/plot2_files/figure-html/unnamed-chunk-16-2.png b/articles/plot2_files/figure-html/unnamed-chunk-16-2.png index 90e8020..0ec8d92 100644 Binary files a/articles/plot2_files/figure-html/unnamed-chunk-16-2.png and b/articles/plot2_files/figure-html/unnamed-chunk-16-2.png differ diff --git a/articles/plot2_files/figure-html/unnamed-chunk-20-1.png b/articles/plot2_files/figure-html/unnamed-chunk-20-1.png index eea3230..df348ce 100644 Binary files a/articles/plot2_files/figure-html/unnamed-chunk-20-1.png and b/articles/plot2_files/figure-html/unnamed-chunk-20-1.png differ diff --git a/articles/plot2_files/figure-html/unnamed-chunk-20-2.png b/articles/plot2_files/figure-html/unnamed-chunk-20-2.png index e85fa88..fb477eb 100644 Binary files a/articles/plot2_files/figure-html/unnamed-chunk-20-2.png and b/articles/plot2_files/figure-html/unnamed-chunk-20-2.png differ diff --git a/articles/plot2_files/figure-html/unnamed-chunk-39-1.png b/articles/plot2_files/figure-html/unnamed-chunk-39-1.png index b73ad88..2f03edd 100644 Binary files a/articles/plot2_files/figure-html/unnamed-chunk-39-1.png and b/articles/plot2_files/figure-html/unnamed-chunk-39-1.png differ diff --git a/articles/plot2_files/figure-html/unnamed-chunk-4-1.png b/articles/plot2_files/figure-html/unnamed-chunk-4-1.png index 625f70f..39fd637 100644 Binary files a/articles/plot2_files/figure-html/unnamed-chunk-4-1.png and b/articles/plot2_files/figure-html/unnamed-chunk-4-1.png differ diff --git a/articles/plot2_files/figure-html/unnamed-chunk-5-1.png b/articles/plot2_files/figure-html/unnamed-chunk-5-1.png index 5a170af..73f0f85 100644 Binary files a/articles/plot2_files/figure-html/unnamed-chunk-5-1.png and b/articles/plot2_files/figure-html/unnamed-chunk-5-1.png differ diff --git a/articles/plot2_files/figure-html/unnamed-chunk-6-1.png b/articles/plot2_files/figure-html/unnamed-chunk-6-1.png index 80ca082..7c43124 100644 Binary files a/articles/plot2_files/figure-html/unnamed-chunk-6-1.png and b/articles/plot2_files/figure-html/unnamed-chunk-6-1.png differ diff --git a/articles/plot2_files/figure-html/unnamed-chunk-6-2.png b/articles/plot2_files/figure-html/unnamed-chunk-6-2.png index 6dabee2..623e7f8 100644 Binary files a/articles/plot2_files/figure-html/unnamed-chunk-6-2.png and b/articles/plot2_files/figure-html/unnamed-chunk-6-2.png differ diff --git a/articles/plot2_files/figure-html/unnamed-chunk-9-1.png b/articles/plot2_files/figure-html/unnamed-chunk-9-1.png index f70cece..f61f186 100644 Binary files a/articles/plot2_files/figure-html/unnamed-chunk-9-1.png and b/articles/plot2_files/figure-html/unnamed-chunk-9-1.png differ diff --git a/articles/plot2_files/figure-html/unnamed-chunk-9-2.png b/articles/plot2_files/figure-html/unnamed-chunk-9-2.png index bedf279..cc530d6 100644 Binary files a/articles/plot2_files/figure-html/unnamed-chunk-9-2.png and b/articles/plot2_files/figure-html/unnamed-chunk-9-2.png differ diff --git a/authors.html b/authors.html index 599a215..2836492 100644 --- a/authors.html +++ b/authors.html @@ -17,7 +17,7 @@ certeplot2 - 1.23.3 + 1.23.4 @@ -101,13 +101,13 @@

Citation

Berends MS, Hassing EEA (2024). certeplot2: A Certe R Package for Convenient Plotting. -R package version 1.23.3, https://github.com/certe-medical-epidemiology/certeplot2, https://certe-medical-epidemiology.github.io/certeplot2. +R package version 1.23.4, https://github.com/certe-medical-epidemiology/certeplot2, https://certe-medical-epidemiology.github.io/certeplot2.

@Manual{,
   title = {certeplot2: A Certe R Package for Convenient Plotting},
   author = {Matthijs S. Berends and Erwin E. A. Hassing},
   year = {2024},
-  note = {R package version 1.23.3, https://github.com/certe-medical-epidemiology/certeplot2},
+  note = {R package version 1.23.4, https://github.com/certe-medical-epidemiology/certeplot2},
   url = {https://certe-medical-epidemiology.github.io/certeplot2},
 }
diff --git a/favicon-16x16.png b/favicon-16x16.png index 2769c84..482bced 100644 Binary files a/favicon-16x16.png and b/favicon-16x16.png differ diff --git a/favicon-32x32.png b/favicon-32x32.png index a322a39..f6e8dbb 100644 Binary files a/favicon-32x32.png and b/favicon-32x32.png differ diff --git a/index.html b/index.html index 981dbad..0ed9e45 100644 --- a/index.html +++ b/index.html @@ -44,7 +44,7 @@ certeplot2 - 1.23.3 + 1.23.4 diff --git a/pkgdown.yml b/pkgdown.yml index 8205249..038f1dd 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -3,7 +3,7 @@ pkgdown: 2.0.7 pkgdown_sha: ~ articles: plot2: plot2.html -last_built: 2024-02-03T15:57Z +last_built: 2024-02-05T14:51Z urls: reference: https://certe-medical-epidemiology.github.io/certeplot2/reference article: https://certe-medical-epidemiology.github.io/certeplot2/articles diff --git a/reference/add_mapping.html b/reference/add_mapping.html index 35338a6..4690df3 100644 --- a/reference/add_mapping.html +++ b/reference/add_mapping.html @@ -17,7 +17,7 @@ certeplot2 - 1.23.3 + 1.23.4 diff --git a/reference/add_type.html b/reference/add_type.html index aff752b..b20aed1 100644 --- a/reference/add_type.html +++ b/reference/add_type.html @@ -17,7 +17,7 @@ certeplot2 - 1.23.3 + 1.23.4 diff --git a/reference/admitted_patients.html b/reference/admitted_patients.html index bb55f19..a285e75 100644 --- a/reference/admitted_patients.html +++ b/reference/admitted_patients.html @@ -17,7 +17,7 @@ certeplot2 - 1.23.3 + 1.23.4 diff --git a/reference/certeplot2-package.html b/reference/certeplot2-package.html index 1dc724b..c80c721 100644 --- a/reference/certeplot2-package.html +++ b/reference/certeplot2-package.html @@ -17,7 +17,7 @@ certeplot2 - 1.23.3 + 1.23.4 diff --git a/reference/get_plot_title.html b/reference/get_plot_title.html index 7b86230..2affecf 100644 --- a/reference/get_plot_title.html +++ b/reference/get_plot_title.html @@ -17,7 +17,7 @@ certeplot2 - 1.23.3 + 1.23.4 diff --git a/reference/index.html b/reference/index.html index 3a6b702..fbb3434 100644 --- a/reference/index.html +++ b/reference/index.html @@ -17,7 +17,7 @@ certeplot2 - 1.23.3 + 1.23.4 diff --git a/reference/labellers.html b/reference/labellers.html index 67c8199..935881c 100644 --- a/reference/labellers.html +++ b/reference/labellers.html @@ -17,7 +17,7 @@ certeplot2 - 1.23.3 + 1.23.4 diff --git a/reference/md_to_expression.html b/reference/md_to_expression.html index 40a8567..083a292 100644 --- a/reference/md_to_expression.html +++ b/reference/md_to_expression.html @@ -17,7 +17,7 @@ certeplot2 - 1.23.3 + 1.23.4 diff --git a/reference/move_layer.html b/reference/move_layer.html index d69066d..da39474 100644 --- a/reference/move_layer.html +++ b/reference/move_layer.html @@ -17,7 +17,7 @@ certeplot2 - 1.23.3 + 1.23.4 diff --git a/reference/netherlands.html b/reference/netherlands.html index e5372e1..d8ec76b 100644 --- a/reference/netherlands.html +++ b/reference/netherlands.html @@ -17,7 +17,7 @@ certeplot2 - 1.23.3 + 1.23.4 diff --git a/reference/plot2-methods.html b/reference/plot2-methods.html index 95210d8..23260e0 100644 --- a/reference/plot2-methods.html +++ b/reference/plot2-methods.html @@ -17,7 +17,7 @@ certeplot2 - 1.23.3 + 1.23.4 @@ -1712,7 +1712,7 @@

Methods for plot2()

y_secondary.scientific = NULL, y_secondary.percent = FALSE, y_secondary.labels = NULL, - category.labels = NULL, + category.labels = md_to_expression, category.percent = FALSE, category.breaks = NULL, category.limits = NULL, diff --git a/reference/plot2.html b/reference/plot2.html index 744dd46..8eb2ef9 100644 --- a/reference/plot2.html +++ b/reference/plot2.html @@ -19,7 +19,7 @@ certeplot2 - 1.23.3 + 1.23.4 diff --git a/reference/plotly.html b/reference/plotly.html index 9dcd0c1..2603de3 100644 --- a/reference/plotly.html +++ b/reference/plotly.html @@ -17,7 +17,7 @@ certeplot2 - 1.23.3 + 1.23.4 @@ -107,7 +107,7 @@

Examples

as_plotly() #> i Using type = "point" since both axes are numeric
- + mtcars |> plot2(mpg, hp) |> as_plotly(dragmode = "pan") |> @@ -115,7 +115,7 @@

Examples

hoverinfo = "y") #> i Using type = "point" since both axes are numeric
- + if (FALSE) { # in the certetoolbox package, this: diff --git a/reference/reexports.html b/reference/reexports.html index 37632a4..c2dd217 100644 --- a/reference/reexports.html +++ b/reference/reexports.html @@ -32,7 +32,7 @@ certeplot2 - 1.23.3 + 1.23.4 diff --git a/reference/scale_certe.html b/reference/scale_certe.html index 184f2df..68c1192 100644 --- a/reference/scale_certe.html +++ b/reference/scale_certe.html @@ -17,7 +17,7 @@ certeplot2 - 1.23.3 + 1.23.4 diff --git a/reference/theme_minimal2.html b/reference/theme_minimal2.html index 8b57732..f22de6e 100644 --- a/reference/theme_minimal2.html +++ b/reference/theme_minimal2.html @@ -17,7 +17,7 @@ certeplot2 - 1.23.3 + 1.23.4