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

View source: R/predict.BLMCP.R

predict.BLMCPR Documentation

Make predictions from a "BLMCP" object

Description

This function makes predictions from a BLMCP model, using the stored "BLMCP" object.

Usage

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

Arguments

object

Fitted "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.

See Also

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


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