Reads the per-fit files that mstrust() writes with
output = TRUE, for example after an aborted run.
Examples
folder <- file.path(tempdir(), "interRes")
dir.create(folder, showWarnings = FALSE)
for (i in 1:3)
saveRDS(list(value = 10 / i, converged = TRUE, iterations = 5L, argument = c(a = i)),
file.path(folder, paste0("fit-", i, ".Rda")))
fits <- load.parlist(folder)
as.parframe(fits)
#> index value converged iterations a
#> 1 3 3.333333 TRUE 5 3
#> 2 2 5.000000 TRUE 5 2
#> 3 1 10.000000 TRUE 5 1
unlink(folder, recursive = TRUE)