stargazer_pvalues: Stargazer P Values

Description Usage Arguments Examples

View source: R/table_prep.R

Description

The default way for stargazer to report P-Values is by "P = X". This function offers several ways to change this.

Usage

1

Arguments

table

Table from stargazer using the capture.output() function

format

String either 'brackets', 'parentheses' or 'none' to replace the stargazer default P = x

Examples

1
2
3
4
model <- lm(hp ~ wt, mtcars)
table_rough <- stargazer(model, report = "csp")
table <- stargazer_pvalues(table_rough, "brackets")
print_table(table)

johnhenrypezzuto/blpl documentation built on Dec. 6, 2019, 2:36 a.m.