| makediff3 | R Documentation | 
DiffmatrixThe first observation is assumed to be not censored (delta = 1).
The Difference is computed between data point i
and its neighbour that has the largest survival time but smaller than y_i, the survival time of i.
makediff3(Y, delta)
Y | 
 [  | 
delta | 
 [  | 
[Diffmatrix(1)]
Object of class Diffmatrix with elements:
Type  | type of makediff function used to compute differences between neighbours. | 
Mat  | matrix used to compute differences between comparable data points. | 
makediff1 and makediff2
Y <- c(1,3,3.5,4,8); delta <- c(0,0,1,1,0); makediff3(Y, delta)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.