Description Usage Arguments Value Note Examples
Generate logit, log odds ratio, odds ratio and
probability for coefficients in a logistic regression.
Can be generalized to all combinations of coefficients.
Values are calculated for a change in the value
of the coeffient for the predictor from 0 to
1. (For continuous predictors changes of more than
one unit may have more practical significance).
1 |
x |
A logistic regression model of class |
all |
If |
usePrim |
If |
If all=TRUE
, a data.table
giving, for each
combination of coefficients:
coef |
Combination of coefficients |
logit |
The logit for a given combination of coefficients |
lnOR |
Natural log of Odds Ratio |
OR |
Odds Ratio |
p |
probability |
This is sorted by OR
(low to high).
If all=FALSE
, a
data.frame
giving the above values for all
predictors.
To use gRbase::combnPrim
the following
dependencies may be necessary. Install as follows:
source("http://bioconductor.org/biocLite.R")
biocLite("graph")
biocLite("BiocGenerics")
biocLite("RBGL")
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.