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,6 +87,7 @@ 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()
}) })