-
Notifications
You must be signed in to change notification settings - Fork 2
/
DESCRIPTION
41 lines (41 loc) · 1.56 KB
/
DESCRIPTION
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Package: oddsratio
Title: Odds Ratio Calculation for GAM(M)s & GLM(M)s
Version: 2.0.1.9000
Authors@R:
person("Patrick", "Schratz", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0003-0748-6624"))
Description: Simplified odds ratio calculation of GAM(M)s & GLM(M)s.
Provides structured output (data frame) of all predictors and their
corresponding odds ratios and confident intervals for further
analyses. It helps to avoid false references of predictors and
increments by specifying these parameters in a list instead of using
'exp(coef(model))' (standard approach of odds ratio calculation for
GLMs) which just returns a plain numeric output. For GAM(M)s, odds
ratio calculation is highly simplified with this package since it
takes care of the multiple 'predict()' calls of the chosen predictor
while holding other predictors constant. Also, this package allows
odds ratio calculation of percentage steps across the whole predictor
distribution range for GAM(M)s. In both cases, confident intervals
are returned additionally. Calculated odds ratio of GAM(M)s can be
inserted into the smooth function plot.
License: MIT + file LICENSE
URL: https://github.com/pat-s/oddsratio
BugReports: https://github.com/pat-s/oddsratio/issues
Depends:
R (>= 3.0.0)
Imports:
ggplot2 (>= 3.0.0),
mgcv,
stats
Suggests:
gam,
knitr,
MASS,
rmarkdown,
testthat
VignetteBuilder:
knitr
Encoding: UTF-8
LazyData: true
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.1