confint.logreg_screenr: An S3 Method to Compute Confidence Limits from...

View source: R/confint-methods.R

confint.logreg_screenrR Documentation

An S3 Method to Compute Confidence Limits from logreg_screenr Objects

Description

confint.logreg_screenr returns the logistic model parameter estimates and their profile-likelihood confidence limits from logreg_screenr-class objects.

Usage

## S3 method for class 'logreg_screenr'
confint(
  object,
  ...,
  intercept = TRUE,
  or = FALSE,
  conf_level = 0.95,
  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).

conf_level

confidence level for profile-likelihood confidence intervals. Default: 0.95.

digits

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

Value

confint.logreg_screenr returns a dataframe containing the estimated coefficients (or odds ratios) and their profile-likelihood lower and upper confidence limits (lcl and ucl, respectively).

Examples

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


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