# Example 1 ----------------------------------
# add the `mcnemar.test(correct)` argument to an ARD structure
ard_formals(fun = mcnemar.test, arg_names = "correct")
# Example 2 ----------------------------------
# S3 Methods need special handling to access the underlying method
ard_formals(
fun = asNamespace("stats")[["t.test.default"]],
arg_names = c("mu", "paired", "var.equal", "conf.level"),
passed_args = list(conf.level = 0.90)
)
Run the code above in your browser using DataLab