Description Usage Arguments Value Author(s) See Also
View source: R/famTEMsel.main.R
The function make_ITR_famTEMsel
returns individualized treatment decision recommendations for subjects with pretreatment characteristics newX
and newZ
, given a famTEMsel
object, famTEMsel.obj
, and an (optimal) regularization parameter index, lambda.index
.
1 2 | make_ITR_famTEMsel(famTEMsel.obj, newX = NULL, newZ = NULL,
lambda.index = NULL, maximize = TRUE)
|
famTEMsel.obj |
a |
newX |
a length-p list of new values for the functional-valued covariates X, where the jth element is a (n-by-n.eval[j]) matrix of the observed jth function, at which predictions are to be made; if |
newZ |
a (n-by-q) matrix of new values for the scalar-valued covariates Z at which predictions are to be made; if |
lambda.index |
an index of the regularization parameter |
maximize |
default is |
pred.new |
a (n-by-L) matrix of predicted values, with each column representing one of the L treatment options. |
trt.rule |
a (n-by-1) vector of the individualized treatment recommendations |
Park, Petkova, Tarpey, Ogden
famTEMsel
,cv.famTEMsel
, predict_famTEMsel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.