Description Usage Arguments Value Examples
linearModel is used to vizualize coefficients of linear models as barplot. It can be used for any linear model equation.
1 |
formula |
Linear model formula |
data |
data to model |
barplot with linear model coefficients without intercept
1 2 | data = data.frame(y = c(1:100), x1 = runif(100), x2 = c(2:101)+runif(100))
linearModel(y~ x1+x2, data = data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.