prep_test_dat: Prepares 'test_dat' for 'uhc_prep()'

View source: R/uhc_plots.R

prep_test_datR 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)?


amt documentation built on March 31, 2023, 5:29 p.m.