I am using the stargazer
package for regression outputs in R. I have a customized estimation procedure that does not result in a model object but only a vector of coefficients and standard errors. Is there a way I can supply these to stargazer
and get a nicely formatted output table?
Example:
dep.var <- "foo"
regressors <- c("bar", "baz", "xyz")
vec.coeffs <- c(1.2, 2.3, 3.4)
vec.se <- c(0.1, 0.1, 0.3)
Output should look akin to:
===============================================
Dependent variable:
---------------------------
foo
-----------------------------------------------
bar 1.200***
(0.100)
baz 2.300***
(0.100)
xyz 3.400***
(0.300)
-----------------------------------------------