What happened?
Hello,
The axis for the plot and table are aligned when no xticks are specified as shown below:
library(dplyr)
library(tern)
library(ggplot2)
df <- tern_ex_adtte %>%
filter(PARAMCD == "OS") %>%
mutate(is_event = CNSR == 0)
variables <- list(tte = "AVAL", is_event = "is_event", arm = "ARMCD")
g_km(df = df, variables = variables)
However, when the xticks are specified, the plot and table are no longer aligned. Please can you look into this?
g_km(df = df, variables = variables, xticks = c(1000, 2000))
Thank you.
sessionInfo()
Relevant log output
Code of Conduct
Contribution Guidelines
Security Policy
What happened?
Hello,
The axis for the plot and table are aligned when no xticks are specified as shown below:
However, when the xticks are specified, the plot and table are no longer aligned. Please can you look into this?
Thank you.
sessionInfo()
Relevant log output
Code of Conduct
Contribution Guidelines
Security Policy