Description Usage Arguments Value Methods (by class) See Also Examples
Estimate a linear regression model
1 2 3 4 5 6 7 | estimate_lm(y, ...)
## Default S3 method:
estimate_lm(y, x, data, ...)
## S3 method for class 'formula'
estimate_lm(y, data, ...)
|
y |
a vector of response values or a formula |
... |
additional arguments passed to child functions |
x |
predictor(s), a matrix |
data |
a data.frame containing the data |
a posterior distribution for the regression parameters
default
: Default method
formula
: Method for a formula
inzposterior
1 2 3 | post <- estimate_lm(Petal.Length ~ Petal.Width, data = iris)
summary(post)
plot(post)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.