-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
58 changed files
with
1,468 additions
and
485 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ | |
*.Rhistory | ||
*.tar.gz | ||
*.Rcheck | ||
revdep |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
Package: tableone | ||
Type: Package | ||
Title: Create "Table 1" to Describe Baseline Characteristics | ||
Version: 0.7.3 | ||
Date: 2015-11-10 | ||
Version: 0.8.0 | ||
Date: 2017-06-15 | ||
Author: Kazuki Yoshida, Justin Bohn. | ||
Maintainer: Kazuki Yoshida <[email protected]> | ||
Description: Creates "Table 1", i.e., description of baseline patient | ||
|
@@ -19,7 +19,8 @@ Imports: | |
MASS, | ||
e1071, | ||
zoo, | ||
gmodels | ||
gmodels, | ||
nlme | ||
Suggests: | ||
survival, | ||
testthat, | ||
|
@@ -28,7 +29,9 @@ Suggests: | |
Matching, | ||
reshape2, | ||
ggplot2, | ||
knitr | ||
rmarkdown, | ||
geepack, | ||
lme4 | ||
URL: https://github.com/kaz-yos/tableone | ||
VignetteBuilder: knitr | ||
RoxygenNote: 5.0.0 | ||
VignetteBuilder: rmarkdown | ||
RoxygenNote: 6.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/usr/local/bin/Rscript | ||
|
||
################################################################################ | ||
### Modules to support ShowRegTable() | ||
## | ||
## Created on: 2016-03-19 | ||
## Author: Kazuki Yoshida | ||
################################################################################ | ||
|
||
### geepack support | ||
|
||
## cov.unscaled | ||
## the unscaled (dispersion = 1) estimated covariance matrix of the estimated coefficients. | ||
## cov.scaled (This is appropriate.) | ||
## ditto, scaled by dispersion. | ||
vcov.geeglm <- function(object, ...) { | ||
summary(object)$cov.scaled | ||
} | ||
|
||
confint.geeglm <- function(fit, level = 0.95) { | ||
coefs <- coef(fit) | ||
ses <- sqrt(diag(vcov(fit))) | ||
q <- qnorm(p = 1 - level, lower.tail = FALSE) | ||
|
||
data.frame(lower = coefs - q * ses, | ||
upper = coefs + q * ses) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.