Skip to contents

Extract stats from models

Usage

extract_stats_from_models(model_list, model_name = "consensus")

Arguments

model_list

a list of models represented as a nested list, like the output of fit_distributions

model_name

character, the name of the model from which the stats are to be extracted

Value

A list of the following data representing a single segment

histogram_start

The start index of the segment in the Histogram representation

histogram_end

The end index of the segment in the Histogram representation

value

The fitted value of the metric function

metric

The metric used to fit the distribution

dist

The distribution name

params

The parameters of the distribution