Skip to content

Commit

Permalink
Update power docs
Browse files Browse the repository at this point in the history
  • Loading branch information
EeethB committed Nov 8, 2023
1 parent f1453a7 commit 918a2b2
Show file tree
Hide file tree
Showing 12 changed files with 132 additions and 120 deletions.
19 changes: 12 additions & 7 deletions R/graph_calculate_power.R
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,19 @@
#' matrix of test results for the simulation, resulting in a `sim_n` length
#' vector. The mean of this vector is returned as "Probability of success"
#'
#' @return A list with five elements
#' * power_local - rejection proportion for each hypothesis individually
#' * power_expected - average number of hypotheses rejected in a single
#' simulation
#' * power_at_least_1 - proportion of simulations which reject any hypothesis
#' * power_all - proportion of simulations which reject all hypotheses
#' * power_success - proportion of simulations which reject any of the
#' @return A list with three elements
#' * inputs - A list of input parameters
#' * power - A list of measures of how often hypotheses are rejected
#' * power_local - Rejection proportion for each hypothesis individually
#' * power_expected - Average number of hypotheses rejected in a single
#' simulation
#' * power_at_least_1 - Proportion of simulations which reject any
#' hypothesis
#' * power_all - Proportion of simulations which reject all hypotheses
#' * power_success - Proportion of simulations which reject any of the
#' hypotheses specified in `sim_success`
#' * details - An optional list of datasets showing simulated p-values and
#' results for each simulation
#'
#' @export
#'
Expand Down
12 changes: 6 additions & 6 deletions man/adjust_p.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions man/adjusted-weights.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions man/calc-test_values.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions man/example-graphs.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 19 additions & 12 deletions man/graph_calculate_power.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions man/graph_create.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions man/graph_generate_weights.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions man/graph_update.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions man/testing-fast.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 918a2b2

Please sign in to comment.