Skip to content

Commit

Permalink
Start refactoring of visualize() (tidymodels#178).
Browse files Browse the repository at this point in the history
Also:
- Adds `shade_p_value()`, `shade_pvalue()`, `shade_confidence_interval()`, and `shade_ci()`.
  • Loading branch information
echasnovski committed Sep 13, 2018
1 parent b09d853 commit 30f813c
Show file tree
Hide file tree
Showing 7 changed files with 595 additions and 400 deletions.
4 changes: 4 additions & 0 deletions NAMESPACE
Expand Up @@ -15,6 +15,10 @@ export(get_pvalue)
export(hypothesize)
export(p_value)
export(rep_sample_n)
export(shade_ci)
export(shade_confidence_interval)
export(shade_p_value)
export(shade_pvalue)
export(specify)
export(t_stat)
export(t_test)
Expand Down
6 changes: 3 additions & 3 deletions R/infer.R
Expand Up @@ -18,9 +18,9 @@ if (getRversion() >= "2.15.1") {
utils::globalVariables(
c(
"prop", "stat", "value", "x", "..density..", "statistic", ".",
"parameter", "p.value", "xmin", "xmax", "density", "denom", "diff_prop",
"group_num", "n1", "n2", "num_suc", "p_hat", "total_suc", "explan",
"probs", "conf.low", "conf.high"
"parameter", "p.value", "xmin", "x_min", "xmax", "x_max", "density",
"denom", "diff_prop", "group_num", "n1", "n2", "num_suc", "p_hat",
"total_suc", "explan", "probs", "conf.low", "conf.high"
)
)
}

0 comments on commit 30f813c

Please sign in to comment.