risk.adjust.new.be: Predicting Event Rates for New Data

View source: R/rf_functions_p2.R

risk.adjust.new.beR Documentation

Predicting Event Rates for New Data

Description

risk.adjust.new.be calculates risk event rates on a new set of test data

Usage

risk.adjust.new.be(rf, status, rt, new_data, k = 2, alpha.tm = 0.05)

Arguments

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

Value

vector of risk values for the new data


dshenker/RFSLAM documentation built on Sept. 18, 2022, 3:26 a.m.