merge_results | R Documentation |
Merge Multiple Results
merge_results(obj, result_set, indices, id, ...)
obj |
The base object containing merge specifications |
result_set |
List of results to be merged |
indices |
List of indices corresponding to each result |
id |
Identifier for the merged result |
... |
Additional arguments passed to specific merge methods |
A merged result object containing:
Combined results from all input objects
Associated indices
Merged metadata
ds <- gen_sample_dataset(D = c(5, 5, 5), nobs = 20, nlevels = 2)
model <- load_model("sda_notune")
mspec <- mvpa_model(model = model, dataset = ds$dataset, design = ds$design,
model_type = "classification")
result_set <- tibble::tibble(result = list(NULL), error = FALSE,
error_message = "~")
merge_results(mspec, result_set, indices = list(1:10), id = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.