omit missing

This commit is contained in:
Andreas Gammelgaard Damsbo 2025-05-10 13:01:48 +02:00
parent 0c80bd2616
commit d3819b786e
No known key found for this signature in database

View file

@ -87,10 +87,11 @@ plot_euler <- function(data, pri, sec, ter = NULL, seed = 2103) {
out <- lapply(ds, \(.x){ out <- lapply(ds, \(.x){
.x[c(pri, sec)] |> .x[c(pri, sec)] |>
as.data.frame() |> as.data.frame() |>
na.omit() |>
plot_euler_single() plot_euler_single()
}) })
# names(out) # names(out)
wrap_plot_list(out) wrap_plot_list(out)
# patchwork::wrap_plots(out, guides = "collect") # patchwork::wrap_plots(out, guides = "collect")
} }