Description Usage Arguments Value Author(s) Examples
Fits Tukey's resistant line of form a + b (x - xC).
1 |
formula |
formula for line of form y ~ x |
df |
data frame |
iter |
number of iterations of algorithm |
a |
value of intercept a |
b |
value of slope b |
xC |
value of xC |
half.slope.ratio |
value of half slope ratio after one iteration |
residual |
vector of residuals |
spoints.x |
vector of summary x coordinates |
spoints.y |
vector of summary y coordinates |
Jim Albert
1 2 3 | df <- data.frame(x = 1:10,
y = 3 * (1:10) + rnorm(10))
fit <- rline(y ~ x, df, iter=5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.