condense_fit: Condense model output dataframe for final tables

Description Usage Arguments

Description

Internal function, not called directly. Can only be used in conjunction with extract_fit

Usage

1
2
3
4
5
6
7
8
9
condense_fit(
  .data,
  explanatory_name = "explanatory",
  estimate_name = NA,
  estimate_suffix = "",
  p_name = "p",
  digits = c(2, 2, 3),
  confint_sep = "-"
)

Arguments

.data

Dataframe of four or five columns, must be this order, (1) explanatory variable names, (2) estimate, (3) confidence interval lower limit, (4) confidence interval upper limit, (5) p-value (optional).

explanatory_name

Name for this column in output

estimate_name

Name for this column in output

estimate_suffix

Appeneded to estimate name

p_name

Name given to p-value estimate

digits

Number of digits to round to (1) estimate, (2) confidence interval limits, (3) p-value.

confint_sep

String to separate confidence intervals, typically "-" or " to ".


finalfit documentation built on June 11, 2021, 5:17 p.m.