reportReg: An Easy Way to Report Regression Analysis
Description
Provides an easy way to report the results of regression analysis, including:
1. Proportional hazards regression model from function 'coxph' of package 'survival';
2. Ordered logistic regression from function 'polr' of package 'MASS';
3. Binary logistic regression from function 'glm' of package 'stats';
4. Linear regression from function 'lm' of packages 'stats'.
Usage
reportReg(fit)
Arguments
fit
object of regression, including 'survival::coxph', 'MASS::polr', 'glm', and 'lm'