NN.options | R Documentation |
Create a list of options which control the nearest neighbour algorithm for risk score imputation
NN.options(NN = 5, w.censoring = 0.2, min.subjects = 20)
NN |
The (maximum) number of subjects to be included in the risk set |
w.censoring |
The weighting on the censoring risk score when
calculating distances for the nearest neighbour calculation
A weighting of |
min.subjects |
If using time dependent score imputation include at least this number of subjects when fitting the Cox model (i.e. include some subjects who were censored/had event earlier than the cenosred observation if neccessary) |
A list of options used within the ScoreImputedData function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.