Learn R Programming

cardx (version 0.1.0)

ard_regression: Regression ARD

Description

Function takes a regression model object and converts it to a ARD structure using the broom.helpers package.

Usage

ard_regression(x, ...)

# S3 method for default ard_regression(x, tidy_fun = broom.helpers::tidy_with_broom_or_parameters, ...)

Value

data frame

Arguments

x

regression model object

...

Arguments passed to broom.helpers::tidy_plus_plus()

tidy_fun

(function)
a tidier. Default is broom.helpers::tidy_with_broom_or_parameters

Examples

Run this code
lm(AGE ~ ARM, data = cards::ADSL) |>
  ard_regression(add_estimate_to_reference_rows = TRUE)

Run the code above in your browser using DataLab