stan_speeches_param_est: Create data frame of results from stanfit speeches for tables...

Description Usage Arguments

Description

Create data frame of results from stanfit speeches for tables using xtable

Usage

1
2
stan_speeches_param_est(stanfit, model_pars = c("beta", "alpha"), pars_labels,
  col_labels, obs)

Arguments

stanfit

list of stanfit objects. Names will become column labels unless col_labels is specified.

model_pars

character vector of parameters from the stanfit object to include in the table.

pars_labels

required vector of parameter labels to include in the table. Must be a list with parameter labels for each element in stanfit and in the same order. Identical variables must have matching labels.

col_labels

optional vector of column labels. If not specified then names of fitted stan models in stanfit are used.

obs

intiger number of observations in the model. Note: currently crude implementation.


christophergandrud/StanSpeeches documentation built on May 13, 2019, 7:01 p.m.