powered by
BinaryToCensoring(is.censored, is.uncensored)
factor
is.censored
is.uncensored
NA
BinaryToCensoring(is.censored=c(0, 1, 1, 0, NA)) BinaryToCensoring(is.uncensored=c(1, 0, 0, 1, NA)) #the same BinaryToCensoring(c(0, 1)) #error because the input must be named
Run the code above in your browser using DataLab