Description Usage Arguments Value See Also Examples
View source: R/vertical_utilities.R
Plots a survivial curve as specified by survfitDistributed
object.
1 2 |
x |
a |
merge |
logical. It |
... |
common graphical parameters (not fully implemented). |
No return value.
1 2 3 4 5 6 7 8 9 10 11 | 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.