Extract.mmkin.Rd
Subsetting method for mmkin objects.
# S3 method for mmkin [(x, i, j, ..., drop = FALSE)
x | An |
---|---|
i | Row index selecting the fits for specific models |
j | Column index selecting the fits to specific datasets |
... | Not used, only there to satisfy the generic method definition |
drop | If FALSE, the method always returns an mmkin object, otherwise either a list of mkinfit objects or a single mkinfit object. |
An object of class mmkin
.
# Only use one core, to pass R CMD check --as-cran fits <- mmkin(c("SFO", "FOMC"), list(B = FOCUS_2006_B, C = FOCUS_2006_C), cores = 1, quiet = TRUE) fits["FOMC", ]#> dataset #> model B C #> FOMC List,39 List,39 #> attr(,"class") #> [1] "mmkin"fits[, "B"]#> dataset #> model B #> SFO List,39 #> FOMC List,39 #> attr(,"class") #> [1] "mmkin"fits["SFO", "B"]#> dataset #> model B #> SFO List,39 #> attr(,"class") #> [1] "mmkin"#> $par #> parent_0 log_alpha log_beta sigma #> 99.666193 2.549849 5.050586 1.890202 #> #> $objective #> [1] 28.58291 #> #> $convergence #> [1] 0 #> #> $iterations #> [1] 21 #> #> $evaluations #> function gradient #> 25 72 #> #> $message #> [1] "both X-convergence and relative convergence (5)" #>