Nothing
print.survCS <- function(x, ...){
if (inherits(x, "survCS")) {
if(class(x)[1] == "data.frame") {
print(x)
}else{
cat("Call:\n")
print(x$call)
cat("\nMethod:\n")
if(class(x)[1] == "KMW") method <- "Kaplan-Meier weights"
if(class(x)[1] == "LDM") method <- "Landmark approach"
if(class(x)[1] == "PLDM") method <- "Presmoothed Landmark approach"
if(class(x)[1] == "IPCW") method <- "Inverse Probability of Censoring Weighting"
print(method)
}
}else{
stop("Argument x must be either survCS object.")
}
}
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.