Description Usage Arguments Value
View source: R/bin_bin_sens_stan.R
(Does collapsing of design matrices internally)
1 2 | bin_bin_sens_stan(outcomes, designs, prior, u_ei = NULL,
am_intx = NULL, mean_only = 1, ...)
|
outcomes |
List of named regression outcomes (named m and y) |
designs |
List of named design matrices (named x_m, x_y, x_u) - with exposure named a |
prior |
List of named prior means and variance-covariance matrices |
u_ei |
0/1 Whether u is assumed to be exposure-induced |
am_intx |
0/1 Whether exposure-mediation interaction is included in outcome model |
mean_only |
0/1 Whether to sample outcomes or use means for mediation qtys |
... |
Additional arguments passed to |
an object of class 'stanfit' returned by 'rstan::sampling'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.