Nothing
Survrecu <-
function(id,time,event) {
if (length(unique(id)) != length(event[event == 0])) {
stop("Data doesn't match with the method. Every subject must have a censored time")
}
if (length(unique(event)) > 2 | max(event) != 1 | min(event) !=
0) {
stop("event must be 0-1")
}
ans <- cbind(id, time, event)
oldClass(ans) <- "Survrecu"
invisible(ans) }
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.