| plot.survCS | R Documentation | 
It draws the estimated conditional survival probabilities.
## S3 method for class 'survCS' plot( x = object, y = NULL, conf = NULL, type = NULL, conftype = NULL, col = 1:6, confcol = 1:6, lty = 1, conflty = 2, xlab = "Time", ylab = "Survival", ylim = NULL, xlim = NULL, ... )
| x | An object of class "survCS". | 
| y | 
 | 
| conf | Draw the confidence intervals into the plot. By default it is
 | 
| type | The type of plot that should be drawn. See details
 | 
| conftype | The type of plot that should be drawn for confidence
intervals.  See details  | 
| col | Vector of colors. Colors are used cyclically. | 
| confcol | Vector of colors for the confidence intervals. Colors are used cyclically. | 
| lty | The line type. Line types can either be specified as an integer
(0 = blank, 1 = solid (default), 2 = dashed, 3 = dotted, 4 = dotdash, 5 =
longdash, 6 = twodash).  See details in  | 
| conflty | The line type for confidence intervals. Line types can either be specified as an integer (0 = blank, 1 = solid (default), 2 = dashed, 3 = dotted, 4 = dotdash, 5 = longdash, 6 = twodash). | 
| xlab | A title for the  | 
| ylab | A title for the  | 
| ylim | The  | 
| xlim | The  | 
| ... | Other options. | 
No value is returned.
Luis Meira-Machado and Marta Sestelo
fit1 <- survCOND(survCS(time1, event1, Stime, event) ~ 1, x = 365, data = colonCS, method = "LDM", conf = TRUE) plot(fit1, xlab = "Time (days)", ylab = "S(y|365)", ylim = c(0.5, 1)) fit4 <- survCOND(survCS(time1, event1, Stime, event) ~ rx, x = 365, data = colonCS, method = "LDM") plot(fit4, xlab = "Time (days)", ylab = "S(y|365)", ylim = c(0.5, 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.