-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added function to restore types in ARDs
- Loading branch information
Showing
15 changed files
with
269 additions
and
46 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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
48 changes: 25 additions & 23 deletions
48
tests/testthat/_snaps/ard_categorical_ci.survey.design.md
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,28 +1,30 @@ | ||
# ard_categorical_ci(data) | ||
|
||
Code | ||
dplyr::select(as.data.frame(ard_categorical_ci(dclus1, variables = c(both, | ||
awards))), -warning, -error, -fmt_fn, -context) | ||
dplyr::select(ard_categorical_ci(dclus1, variables = c(both, awards)), -warning, | ||
-error, -fmt_fn, -context) | ||
Message | ||
{cards} data frame: 20 x 5 | ||
Output | ||
variable variable_level stat_name stat_label stat | ||
1 both No estimate estimate 0.273224 | ||
2 both No conf.low conf.low 0.2131745 | ||
3 both No conf.high conf.high 0.342819 | ||
4 both No method method logit | ||
5 both No conf.level conf.level 0.95 | ||
6 both Yes estimate estimate 0.726776 | ||
7 both Yes conf.low conf.low 0.657181 | ||
8 both Yes conf.high conf.high 0.7868255 | ||
9 both Yes method method logit | ||
10 both Yes conf.level conf.level 0.95 | ||
11 awards No estimate estimate 0.2896175 | ||
12 awards No conf.low conf.low 0.2241835 | ||
13 awards No conf.high conf.high 0.3651608 | ||
14 awards No method method logit | ||
15 awards No conf.level conf.level 0.95 | ||
16 awards Yes estimate estimate 0.7103825 | ||
17 awards Yes conf.low conf.low 0.6348392 | ||
18 awards Yes conf.high conf.high 0.7758165 | ||
19 awards Yes method method logit | ||
20 awards Yes conf.level conf.level 0.95 | ||
variable variable_level stat_name stat_label stat | ||
1 both No estimate estimate 0.273 | ||
2 both No conf.low conf.low 0.213 | ||
3 both No conf.high conf.high 0.343 | ||
4 both No method method logit | ||
5 both No conf.level conf.lev… 0.95 | ||
6 both Yes estimate estimate 0.727 | ||
7 both Yes conf.low conf.low 0.657 | ||
8 both Yes conf.high conf.high 0.787 | ||
9 both Yes method method logit | ||
10 both Yes conf.level conf.lev… 0.95 | ||
11 awards No estimate estimate 0.29 | ||
12 awards No conf.low conf.low 0.224 | ||
13 awards No conf.high conf.high 0.365 | ||
14 awards No method method logit | ||
15 awards No conf.level conf.lev… 0.95 | ||
16 awards Yes estimate estimate 0.71 | ||
17 awards Yes conf.low conf.low 0.635 | ||
18 awards Yes conf.high conf.high 0.776 | ||
19 awards Yes method method logit | ||
20 awards Yes conf.level conf.lev… 0.95 | ||
|
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
Oops, something went wrong.