galaxy: LaTeX regression tables

Description Usage Arguments Value

View source: R/galaxy.R

Description

LaTeX regression tables

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
galaxy(
  x,
  .captn = NULL,
  .paren = "std.error",
  .starz = c(0.05, 0.01, 0.001),
  .charz = c("*", "**", "***"),
  .digit = 3,
  .above = NULL,
  .below = NULL,
  .place = "!htb",
  .tomit = NULL,
  .comit = NULL,
  .scien = NA,
  .ndrop = FALSE,
  .incol = character(0),
  .merge = FALSE,
  .float = TRUE,
  .order = NULL,
  .naout = FALSE,
  .print = TRUE,
  .oterm = FALSE,
  .ttype = "latex",
  .space = "2.25ex",
  .title = NULL,
  .capup = FALSE,
  .headr = TRUE,
  .check = NULL,
  .hinot = NULL,
  .point = TRUE,
  .notit = FALSE,
  .toppr = NULL,
  .modno = TRUE,
  .snote = TRUE,
  .pnote = FALSE,
  .align = "r",
  .tbold = setdiff(.order, "(Intercept)"),
  ...
)

Arguments

x

a model object, wickr::sumer object, or list thereof

.captn

character. Caption for the table. Default NULL.

.paren

character. Value to parenthesize. "p.value", "none", or "std.error" (the default).

.starz

numeric. Significance levels. Default c(0.05, 0.01, 0.001).

.charz

character. Symbols for sugbufucabce kevels. Default c("*", "**", "***").

.digit

numeric. Number of places to round decimals to. Default 3.

.above

character. Names of model metadata values to include ABOVE table. Default NULL.

.below

character. Names of model metadata values to include BELOW table. Default NULL.

.place

character. LaTeX table placement. Default "!htb".

.tomit

character. (Partial) names of terms to omit from table. Default NULL.

.comit

character. (Partial) names of _components_ to omit from table. Default NULL.

.scien

logical. Use scientific notation? Default NA (auto).

.ndrop

logical. Leave a note about dropped columns? Actually rather annoying. Default FALSE.

.incol

character. Columns by which to widen data. Only "outcome" supported. Default NULL.

.merge

character. merge level into term? Default FALSE.

.float

logical. Do we all float down here? Default TRUE.

.order

character. Terms to pull to the top of the table, in order. Default NULL.

.naout

logical. Drop rows for vars with NA estimates? Don't actually do this. Default FALSE.

.print

logical. Barf the result to the screen? FALSE to return _only_. Default TRUE.

.oterm

logical. Omit the term column if only one term is reported? Default FALSE.

.ttype

character. Table type. "latex" or "html". Default "latex".

.space

character. Space between rows, in LaTeX notation. Default "2.25ex".

.title

character. Columns to transform to title case. Default NULL.

.capup

logical. Caption at top of table if .float==FALSE? Default FALSE (at bottom).

.headr

logical. Display hierarchical header? Default TRUE.

.check

character. Hierarchical organization columns to display below instead of above table. Default NULL.

.hinot

character. STuff to put atop the hierarchical header (if any). Default NULL.

.point

logical. Align columns on decimal point? Default TRUE.

.notit

logical. Notes at bottom in italics? Default FALSE.

.toppr

character. LaTeX code to put at the very top of the table. Default NULL.

.modno

logical. Number models? Default TRUE.

.snote

logical. Note what .charz go with what .starz? Default TRUE.

.pnote

logical. Note what quantity is in parentheses? Default FALSE.

.align

character. Alignment of left-side columns. Default "r".

.tbold

character. Bold these terms. Default setdiff(.order, "(Intercept)").

...

other arguments passed to print.xtable and/or sumer.

Value

whatever print.xtable returns


deepfriar/galaxy documentation built on Dec. 19, 2021, 10:09 p.m.