Skip to contents

This function processes the finalized FIMS JSON output and extracts/formats log_like, distribution, init, and expected from density_components, observed_values, and expected_values into a structured tibble for easier analysis and manipulation. Values are subsequently used to generate the 'fits' tibble from get_fits().

Usage

reshape_json_fits(finalized_fims)

Arguments

finalized_fims

A JSON object containing the finalized FIMS output.

Value

A tibble containing the reshaped data fitting values.