I am currently in the process of finishing up my module and writing the documentation. During this process I noticed that in the R documentation of the package under "Usage", for arguments that have a dropdown-style string-selector (e.g. the direction of the hypothesis, which can be "less", "two.sided" or "greater") the documentation only shows the default value instead of all possible values:
Code: Select all
function(
data,
alternative = "two.sided"
)
Code: Select all
binom.test(x, n, p = 0.5,
alternative = c("two.sided", "less", "greater"),
conf.level = 0.95)
Best,
Dan