- n
Sample size. Has to be NULL if power is specified.
Defaults to NULL
- power
Target power. Has to be NULL if n is specified.
Defaults to NULL
- k
Bayes factor threshold. Defaults to 1/10, Jeffreys' threshold
for 'strong evidence' against the null hypothesis
- p0
Tested binomial proportion. Defaults to 0.5
- type
Type of test. Can be "point" or "directional".
Defaults to "point"
- a
Number of successes parameter of the beta analysis prior
distribution. Defaults to 1
- b
Number of failures parameter of the beta analysis prior
distribution. Defaults to 1
- dp
Fixed binomial proportion assumed for the power calculation. Set to
NA to use a truncated beta design prior instead (specified via the
da, db, dl, and du arguments). Defaults to
NA
- da
Number of successes parameter of the truncated beta design prior
distribution. Is only taken into account if dp = NA. Defaults to
the same value a as specified for the analysis prior
- db
Number of failures parameter of the truncated beta design prior
distribution. Is only taken into account if dp = NA. Defaults to
the same value b as specified for the analysis prior
- dl
Lower truncation limit of of the truncated beta design prior
distribution. Is only taken into account if dp = NA. Defaults to
0
- du
Upper truncation limit of of the truncated beta design prior
distribution. Is only taken into account if dp = NA. Defaults to
1
- nrange
Sample size search range over which numerical search is
performed (only taken into account when n is NULL).
Defaults to c(1, 10^3)