Nothing
#'@title newcrr
#'@name newcrr
#'@description Types of transformation of survival analysis models into competitive risk models.
#'@param fit Modelling for Survival Analysis.
#'@param cencode Censor status, default is 0.
#'@param failcode Events of interest, default is 1.
#'
#'
#'@return A list of competing risk model formats.
#'@export
#'
newcrr<-function(fit,cencode = 0, failcode = 1) {
mod<-fit
cencode<-cencode
failcode<-failcode
out<-list(mod=mod,failcode<-failcode,cencode<-cencode)
class(out)<-"crr"
out
}
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.