View source: R/vertical_utilities.R
plot.survfitDistributed | R Documentation |
Plots a survivial curve as specified by survfitDistributed
object.
## S3 method for class 'survfitDistributed'
plot(x, merge = FALSE, ...)
x |
a |
merge |
logical. It |
... |
common graphical parameters (not fully implemented). |
No return value.
survfitDistributed
sfit = survfitDistributed(vdra_fit_cox_A)
plot(sfit)
# From Data Partner 1
sfit = survfitDistributed(vdra_fit_cox_A, ~Exposure, data = vdra_data[, c(3:4, 5:7)])
plot(sfit)
plot(sfit, merge = FALSE)
# From Data Partner 2
sfit = survfitDistributed(vdra_fit_cox_B, ~Race + Sex, data = vdra_data[, 8:11])
plot(sfit, merge = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.