I want to have a survival plot with a risk table with a vertical line at 12 months and 36 months. Initially I was able to go this
figure1$plot + geom_vline(xintercept = 12) + geom_vline(intercept = 36)
However when I want to add the risk table as follows
figure1$plot + figure1$table + geom_vline(xintercept = 12) + geom_vline(intercept = 36)
I get the error message of "Don't know how to add figure1$table to a plot"
Any recs?