View source: R/simulate_trial_model2.R
estimate_model | R Documentation |
Estimate linear regression model
estimate_model( X, y, m0 = rep(0, ncol(X)), s0 = rep(10, ncol(X)), a0 = 0.01, b0 = 0.01, ... )
X |
Design matrix |
y |
Response vector |
m0 |
Prior mean |
s0 |
Prior SD |
a0 |
Prior shape |
b0 |
Prior shape |
... |
Other arguments to 'vb_lm' |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.