Pull out data from the all_data
nested calibration data frame (by default unnests all columnes). Typically used at various points after a dataset is prepared for calibration with iso_prepare_for_calibration, calibrations are generated with iso_generate_calibration and/or calibrations are applied with iso_apply_calibration. Note that when unnesting multi-row data (i.e. almost always), remaining data and calibration parameters are replicated across the unnested data set. This is NOT a problem for any downstream functions and in fact allows them to access the underlying calibrations if needed (e.g. in iso_mark_calibration_range
). However, if this is undesired, please set keep_remaining_data = FALSE
and keep_calibrations = FALSE
when calling iso_get_calibration_data
or use the iso_remove_list_columns
function afterwards, which removes all nested information.
iso_get_calibration_data( dt, select = everything(), keep_remaining_data = keep_remaining_nested_data, keep_calibration_parameters = keep_other_list_data, keep_calibration_regressions = FALSE, quiet = default(quiet), keep_remaining_nested_data = TRUE, keep_other_list_data = TRUE ) iso_unnest_data(...)
dt | nested data frame with column |
---|---|
select | which columns to unnest - use |
keep_remaining_data | whether to keep the remaining parts of the partially unnested |
keep_calibration_parameters | whether to keep the calibration parameter columns (coefficients, summary, range) in the resulting data frame. By default, calibration parameters are kept to facilitate downstream operations that may need these calibration information (such as iso_mark_calibration_range). |
keep_calibration_regressions | whether to keep the actual calibration regression objects in the resulting data frame. By default, regression objects are NOT kept because they lead to large data objects and do not usually have additional use after iso_apply_calibration has been called. There is rarely a reason to change this parameter to |
quiet | whether to display (quiet=FALSE) or silence (quiet = TRUE) information messages. |
keep_remaining_nested_data | DEPRECATED - renamed to |
keep_other_list_data | DEPRECATED - renamed to |
... | additional parameters to forward to the |
iso_unnest_data
is deprecated in favor of the more specific iso_get_calibration_data
and will be removed in a future version of isoprocessor.
Other calibration functions:
iso_add_standards()
,
iso_apply_calibration()
,
iso_evaluate_calibration_range()
,
iso_generate_calibration()
,
iso_get_calibration_coefficients()
,
iso_get_calibration_range()
,
iso_get_calibration_summary()
,
iso_get_problematic_calibrations()
,
iso_prepare_for_calibration()
,
iso_remove_problematic_calibrations()