coef.logreg_screenr: An S3 Method to Extract Coefficients from 'logreg_screenr'...

View source: R/coef-methods.R

coef.logreg_screenrR Documentation

An S3 Method to Extract Coefficients from logreg_screenr Objects

Description

coef.logreg_screenr returns the logistic model parameter estimates from logreg_screenr-class objects.

Usage

## S3 method for class 'logreg_screenr'
coef(object, ..., intercept = TRUE, or = FALSE, digits = 4)

Arguments

object

an object of class logreg_screenr.

...

optional arguments passed to predict methods.

intercept

(logical) retain (TRUE, default) or drop (FALSE) the intercept coefficients.

or

return odds ratios if TRUE. Default: FALSE (returns logit-scale coefficients).

digits

number of decimal places to be printed. Default: 4.

Value

coef.logreg_screenr returns a dataframe containing the estimated coefficients (or odds ratios).

See Also

confint.logreg_screenr and confint.gee_screenr

Examples

attach(uniobj2)
coef(uniobj2, or = TRUE)


sgutreuter/screenr documentation built on Nov. 20, 2022, 2:41 a.m.