prep_test_dat {amt}R Documentation

Prepares test_dat for uhc_prep()

Description

Internal function to check and format test_dat

Usage

prep_test_dat(object, test_dat, verbose = TRUE)

Arguments

object

⁠[glm, fit_logit, fit_clogit]⁠
A fitted RSF or (i)SSF model. Should be fit to training dataset separate from the testing data.

test_dat

⁠[data.frame]⁠
A data.frame with testing data from which to sample test points. Should be separate from the data used to train the model passed to object.

verbose

⁠[logical]⁠ Should messages be displayed (TRUE) or not (FALSE)?


[Package amt version 0.2.2.0 Index]