Description Usage Arguments Value
Bayesian linear regression with Stan
1 | linear_regression(y, x = NULL, num_pred = 10, vb = FALSE, ...)
|
y |
Numberic vector of output values. |
x |
Numeric vector of input values. |
num_pred |
number of time points to forecast |
... |
Arguments passed to 'rstan::sampling' (e.g. iter, chains). |
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.