View source: R/ard_regression.R
ard_regression | R Documentation |
Function takes a regression model object and converts it to a ARD
structure using the broom.helpers
package.
ard_regression(x, ...)
## Default S3 method:
ard_regression(x, tidy_fun = broom.helpers::tidy_with_broom_or_parameters, ...)
## S3 method for class 'data.frame'
ard_regression(
x,
formula,
method,
method.args = list(),
package = "base",
tidy_fun = broom.helpers::tidy_with_broom_or_parameters,
...
)
x |
(regression model/ |
... |
Arguments passed to |
tidy_fun |
( |
formula |
( |
method |
( |
method.args |
(named Note that this list may contain non-standard evaluation components.
If you are wrapping this function in other functions, the argument
must be passed in a way that does not evaluate the list, e.g.
using rlang's embrace operator |
package |
( |
data frame
lm(AGE ~ ARM, data = cards::ADSL) |>
ard_regression(add_estimate_to_reference_rows = TRUE)
ard_regression(
x = cards::ADSL,
formula = AGE ~ ARM,
method = "lm"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.