predict.bic.BLMCP: Make predictions from a "bic.BLMCP" object.

View source: R/predict.bic.BLMCP.R

predict.bic.BLMCPR Documentation

Make predictions from a "bic.BLMCP" object.

Description

This function makes predictions from a BIC BLMCP model, using the stored "bic.BLMCP" object. This function makes it easier to use the results of BIC to make a prediction.

Usage

## S3 method for class 'bic.BLMCP'
predict(object, newE, newG, ...)

Arguments

object

Fitted "bic.BLMCP" object.

newE

Matrix of new values for E at which predictions are to be made.

newG

Matrix of new values for G at which predictions are to be made.

...

Not used. Other arguments to predict.

Value

The object returned depends on the ... argument which is passed on to the predict method for BLMCP objects.

References

Mengyun Wu, Yangguang Zang, Sanguo Zhang, Jian Huang, and Shuangge Ma. Accommodating missingness in environmental measurements in gene-environment interaction analysis. Genetic Epidemiology, 41(6):523-554, 2017.

Jin Liu, Jian Huang, Yawei Zhang, Qing Lan, Nathaniel Rothman, Tongzhang Zheng, and Shuangge Ma. Identification of gene-environment interactions in cancer studies using penalization. Genomics, 102(4):189-194, 2013.
http://europepmc.org/backend/ptpmcrender.fcgi?accid=PMC3869641&blobtype=pdf

See Also

coef, and plot and bic.BLMCP methods, and BLMCP.


GEInter documentation built on May 20, 2022, 1:17 a.m.