Skip to content

Commit

Permalink
fix typo in y axix label put 0.1 instead of 10
Browse files Browse the repository at this point in the history
  • Loading branch information
certara-smouksassi committed Jan 1, 2024
1 parent 1216911 commit 44520e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/ggkmrisktable.R
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ ggkmrisktable <- function(data = lung_long, # long format filter to Endpoint of
breaks =c(unique(risktabledatag$keynumeric),
c(0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1) ),
labels= c(as.vector(unique(risktabledatag$key)),
c("0","10","0.2","0.3","0.4","0.5","0.6","0.7","0.8","0.9","1") ),
c("0","0.1","0.2","0.3","0.4","0.5","0.6","0.7","0.8","0.9","1") ),
expand = ggplot2::expansion(mult=c(0.01,0.01),
add =c(0, 0)))+
ggplot2::scale_x_continuous( breaks =c(unique(risktabledatag$time))) +
Expand Down

0 comments on commit 44520e7

Please sign in to comment.