Skip to content

Commit

Permalink
bug fix for downstream (#949)
Browse files Browse the repository at this point in the history
Fixes #948
  • Loading branch information
Melkiades authored Jun 6, 2023
1 parent cefccf2 commit c390b0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/kaplan_meier_plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,7 @@ h_grob_tbl_at_risk <- function(data, annot_tbl, xlim) {
annot_tbl <- expand.grid(
time = seq(0, xlim, y_int),
strata = unique(annot_tbl$strata)
) %>% left_join(annot_tbl, by = c("time", "strata"))
) %>% dplyr::left_join(annot_tbl, by = c("time", "strata"))
annot_tbl[is.na(annot_tbl)] <- 0
y_str_unit <- as.numeric(annot_tbl$strata)
vp_table <- grid::plotViewport(margins = grid::unit(c(0, 0, 0, 0), "lines"))
Expand Down

0 comments on commit c390b0b

Please sign in to comment.