mod_to_table: Model to table

View source: R/mod_to_table.R

mod_to_tableR Documentation

Model to table

Description

This function takes a model object and generates a table in pdf or word format.

Usage

mod_to_table(
  model,
  param_names = NULL,
  font_size = 11,
  left_align = 1,
  width = NULL,
  col = NULL,
  ci = 0.95,
  rope = c(-0.1, 0.1)
)

Arguments

model

A model object

param_names

For renaming the default parameter names

font_size

The font size for the table

left_align

Columns that should be left aligned

width

The width in inches of the columns

col

The number of a specific column for width adjustments

ci

Range of the HDCI for brms models

rope

Range of the ROPE interval for brms models

Examples

mod <- lm(mpg ~ drat, data = mtcars)
mod_to_table(mod)

jvcasillas/academicWriteR documentation built on Dec. 28, 2024, 5:09 p.m.