pretty_mod: Pretty format results from models

Description Usage Arguments Value

View source: R/pretty_mod.R

Description

Pretty format results from models

Usage

1
2
3
4
5
6
7
8
pretty_mod(
  mod,
  type = "binomial",
  digits = 2,
  flex_caption = NULL,
  expo = TRUE,
  skip = 1
)

Arguments

mod

(object): a model object

type

(character): the type of model (i.e. 'binomial', 'negbin', 'surv', 'ordinal', 'lm')

digits

(integer): precision of result

flex_caption

(character): caption for flex table

expo

(Boolean): take exponential function of estimate

Value

(list): data.frame of results or df and flextable


jeffreyat/PrettyMod documentation built on June 3, 2021, 10:42 p.m.