naniar
naniar copied to clipboard
Cannot modify ggplot theme for `gg_miss_upset`.
Cannot modify ggplot
theme for gg_miss_upset
. Is it not a proper ggplot2
object?!
library(naniar)
data(oceanbuoys)
oceanbuoys |>
naniar::gg_miss_upset(order.by = "freq") +
ggplot2::theme_bw()
#> NULL
Hi there,
Alas it is a custom implementation by upsetR - https://rdrr.io/cran/UpSetR/man/upset.html - I will make a note of this in the next release to update the documentation to note this.
another option could be to use something like https://github.com/const-ae/ggupset
instead - or document how to use both approaches, UpSetR and ggupset