powered by
Extract coefficients from objects of class "gtReg" returned by gtReg.
gtReg
# S3 method for gtReg coef(object, digits = max(3, getOption("digits") - 3), ...)# S3 method for gtReg coefficients(object, digits = max(3, getOption("digits") - 3), ...)
# S3 method for gtReg coefficients(object, digits = max(3, getOption("digits") - 3), ...)
Model coefficients extracted from the object object.
An object of class "gtReg", created by gtReg, from which the coefficients are to be extracted.
digits for rounding.
not currently used.
Brianna D. Hitt
data(hivsurv) fit1 <- gtReg(formula = groupres ~ AGE * EDUC., data = hivsurv, groupn = gnum, linkf = "probit") coefficients(object = fit1)
Run the code above in your browser using DataLab