fitall | R Documentation |
This technique generalises fitbest
. While it is much
slower it will work for any type of model.
fitall(y, x, method = "lm", ...)
y |
vector y values |
x |
matrix of x values |
method |
name of method used to fit the model, e.g
|
... |
other arguments passed on to |
y <- swiss$Fertility x <- swiss[, -1] mods <- fitall(y, x, "lm")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.