coef.bic.PTReg: Extract coefficients from a "bic.PTReg" object

View source: R/coef.bic.PTReg.R

coef.bic.PTRegR Documentation

Extract coefficients from a "bic.PTReg" object

Description

This function extracts the coefficients of main effects and interactions from a BIC PTReg model, using the stored "bic.PTReg" object.

Usage

## S3 method for class 'bic.PTReg'
coef(object, ...)

Arguments

object

Fitted "bic.PTReg" model object.

...

Not used. Other arguments to get coefficients.

Value

The object returned depends on the ... argument which is passed on to the coef method for bic.PTReg objects.

intercept

The intercept estimate.

alpha

The matrix of the coefficients for main environmental effects.

beta

The matrix of the regression coefficients for all main genetic effects (the first row) and interactions.

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

bic.PTReg, and predict, and plot methods, and PTReg.


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