Description Usage Arguments See Also Examples
Perform a simple linear regression model by automatically discarding outliers.
1 |
formula |
an object of class of |
data |
an optional data frame, see |
... |
additional arguments to be passed to |
lm
,print.infl
,influence.measures
1 2 3 4 | y <- rnorm(100)
x <- rnorm(100)
d <- data.frame(x=x,y=y)
r <- lm2(y~x, d)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.