base.rms (version 1.0)

logit2lrm: Convert results of logistic regression from glm() to lrm()

Description

Convert results of logistic regression from glm() in 'stats' package to lrm() in 'rms' package.

Usage

logit2lrm(fit)

Arguments

fit

logistic regression reults of glm()

Value

results of lrm()

Examples

Run this code
# NOT RUN {
fit <- glm(vs~mpg+cyl,data=mtcars, family = binomial(link = 'logit'))
logit2lrm(fit)
# }

Run the code above in your browser using DataCamp Workspace