makeTable: Generates table of parameter estimates given user...

Description Usage Arguments Value Examples

View source: R/Table_functions.R

Description

Generates table of parameter estimates given user restrictions and data

Usage

1
makeTable(..., output)

Arguments

...

Arguments of TeX code for individual examples to be combined into a single table

output

File name to write

Value

LaTeX code that generates output table with regression results

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
library(ivdoctr)
endog <- c(0, 0.9)
meas <- c(0.6, 1)

colonial_example1 <- ivdoctr(y_name = "logpgp95", T_name = "avexpr",
                            z_name = "logem4", data = colonial,
                            controls = NULL, robust = FALSE,
                            r_TstarU_restriction = endog,
                            k_restriction = meas,
                            example_name = "Colonial Origins")
makeTable(colonial_example1, output = file.path(tempdir(), "colonial.tex"))

ivdoctr documentation built on Dec. 11, 2021, 9:32 a.m.