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

Description Usage Arguments Value References See Also

View source: R/coef.PTReg.R

Description

This function extracts main effect and interaction coefficients from a PTReg model, using the stored "PTReg" object.

Usage

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

Arguments

object

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

PTReg, and predict methods, and bic.PTReg.


GEInter documentation built on July 10, 2021, 5:06 p.m.

Related to coef.PTReg in GEInter...