Nothing
plot <- function(object, ...) UseMethod("plot")
plot.survtype <- function(object, ...)
{
Time <- object$time
Status <- object$status
Group <- object$cluster
surv.data <- data.frame(Time, Status, Group)
fit <- object$fit
if(!is.null(object$subset))
{
Time <- Time[object$subset]
Status <- Status[object$subset]
Group <- Group[object$subset]
surv.data <- data.frame(Time, Status, Group)
}
ggsurvplot(fit, data = surv.data, ...)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.