Posterior fitted values (on the response scale)
Usage
# S3 method for class 'morie_bayes_fit'
fitted(object, ...)Examples
# \donttest{
d <- data.frame(x = rnorm(50)); d$y <- 1 + 2 * d$x + rnorm(50)
fit <- morie_bayes_lm(y ~ x, d, chains = 2, iter = 500, warmup = 200)
head(fitted(fit))
#> [1] 3.3476707 3.9340238 3.1508186 -0.7976726 -1.2683258 -2.1132626
# }
