predict.PTReg {GEInter} | R Documentation |
Make predictions from a "PTReg" object
Description
This function makes predictions from a PTReg model, using the stored "PTReg"
object.
Usage
## S3 method for class 'PTReg'
predict(object, newE, newG, ...)
Arguments
object |
Fitted |
newE |
Matrix of new values for |
newG |
Matrix of new values for |
... |
Not used. Other arguments to predict. |
Value
The object returned depends on the ... argument which is passed
on to the predict
method for PTReg
objects.
References
Yaqing Xu, Mengyun Wu, Shuangge Ma, and Syed Ejaz Ahmed. Robust gene-environment interaction analysis using penalized trimmed regression. Journal of Statistical Computation and Simulation, 88(18):3502-3528, 2018.
See Also
PTReg
, coef
and plot
methods, and bic.PTReg
.
[Package GEInter version 0.3.2 Index]