glance_fun_s3: Default glance function

View source: R/glance_fun.R

glance_fun_s3R Documentation

Default glance function

Description

This is an S3 generic used as the default function in add_glance*(glance_fun). It's provided so various regression model classes can have their own default functions for returning statistics.

Usage

glance_fun_s3(x, ...)

## Default S3 method:
glance_fun_s3(x, ...)

## S3 method for class 'mira'
glance_fun_s3(x, ...)

Arguments

x

(regression model)
a regression model object

...

These dots are for future extensions and must be empty.

Value

a function

Examples

mod <- lm(age ~ trt, trial)

glance_fun_s3(mod)

gtsummary documentation built on Oct. 5, 2024, 1:06 a.m.