Description Usage Arguments Value Examples
Predict x from y in a linear model
1 | inversePredLm(y, fit)
|
y |
The y value. |
fit |
An object of class lm with an intercept and a single coefficient. |
The x value corresponding to the given y.
1 2 | fit <- lm(mpg~hp, data=mtcars)
inversePredLm(15, fit)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.