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 June 25, 2024, 1:14 a.m.