tidy.exp: Tidy function to exponentiate coefficients

tidy.expR Documentation

Tidy function to exponentiate coefficients

Description

This function calls the tidy method based on the second class of the object (i.e. after removing the "exp" class that led to it being called), and then exponentiates the returned estimates and confidence intervals (if any) in the tibble. This is usually used to turn coefficients of logistic regression models into Odds Ratios.

Usage

## S3 method for class 'exp'
tidy(x, ...)

Arguments

x

An object, usually containing a logistic regression model. Should have the class "exp" as the first of its classes, and then a class that dispatches it to an appropriate 'generics::tidy“ function

...

Arguments passed on to the appropriate 'tidy' function


LukasWallrich/rNuggets documentation built on Aug. 26, 2022, 11:03 a.m.