View source: R/rf_functions_p2.R
risk.adjust.new.be | R Documentation |
risk.adjust.new.be
calculates risk event rates on a new set of test data
risk.adjust.new.be(rf, status, rt, new_data, k = 2, alpha.tm = 0.05)
rf |
the random forest object |
status |
the target variable corresponding to "training" CPIUs used to build the rf |
rt |
the risk time values corresponding to "training" CPIUs used to build the rf |
new_data |
the new test dataset |
vector of risk values for the new data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.