Skip to contents

Bayesian linear regression with Stan

Usage

lm_stan(x, y, ...)

Arguments

x

Numeric vector of input values.

y

Numeric vector of output values.

...

Arguments passed to `rstan::sampling` (e.g. iter, chains).

Value

An object of class `stanfit` returned by `rstan::sampling`