result: Iterator result

resultR Documentation

Iterator result

Description

Returns the results of an iterator. This is used to control model flow in a similar way to predict for model and model_seq objects.

Usage

result(M)

Arguments

M

an iterator object

Value

the returned output varies with the algorithm implemented

Examples

D = iris_DatasetExperiment() # get some data
MET = metric()  # use a metric
I = example_iterator() # initialise iterator
models(I) = example_model() # set the model
I = run(I,D,MET) # run
result(I)

computational-metabolomics/struct documentation built on March 27, 2024, 4:26 p.m.