Description Usage Arguments Details Value See Also Examples
Take the output of fitTable
or multiFit
, extract a specific metric from the fits, and present them in the form of a table.
1 2 |
object |
[list.multiFit] The output of |
metric |
[character] The metric to extract from |
... |
Unused; only for consistency with |
The output of multiFit
may be difficult to digest for a human. This function selects from it only the results that are of particular interest, and presents them in an easy to read form.
A more human-friendly digest.
1 2 3 4 5 6 7 8 9 10 11 12 | set.seed (27)
dataset <- data.frame (X=1:10, Y=(1:10)^2+runif(10,-10,10))
models <- list (
"model A" = list (
formula = "Y ~ X^a",
start = list (list(a=100), list(a=1))),
"model B" = list (
formula = "Y ~ a*(X+b)",
start = list (list(a=1,b=1)))
)
summary (multiFit(models,dataset))
summary (fitTable(models,as.matrix(dataset),1,vec2df.rank), "sigma")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.