Skip to content

Commit

Permalink
ungroup error in df.auc
Browse files Browse the repository at this point in the history
  • Loading branch information
hugaped committed Jul 3, 2024
1 parent 65997f4 commit f3ce0a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/plot.functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -1304,7 +1304,7 @@ cumrank <- function(x, sucra=TRUE, ...) {
df.auc <- df %>%
dplyr::group_by(df$Var2, df$param) %>%
dplyr::do(data.frame(sucra=calcauc(.))) %>%
dplyr::ungroup(df.auc)
dplyr::ungroup()

# Normalise SUCRA values to 0,1
df.auc$sucra <- df.auc$sucra/nrow(df.auc)
Expand Down

0 comments on commit f3ce0a1

Please sign in to comment.