Retrieve range information created by iso_evaluate_calibration_range. Problematic calibrations are silently omitted (use iso_get_problematic_calibrations and iso_remove_problematic_calibrations to deal with them more explicitly).

iso_unnest_calibration_range(dt, calibration = "",
  select = everything(), keep_remaining_nested_data = FALSE,
  keep_other_list_data = TRUE)

Arguments

dt

nested data table with column all_data (see iso_prepare_for_calibration)

calibration

an informative name for the calibration (could be e.g. "d13C" or "conc"). If provided, will be used as a prefix for the new columns generated by this function. This parameter is most useful if there are multiple variables in the data set that need to be calibrated (e.g. multiple delta values, concentration, etc.). If there is only a single variable to calibrate, the calibration parameter is completely optional and can just be left blank (the default).

select

which columns to unnest - use c(...) to select multiple, supports all select syntax including renaming columns. Includes all columns by default (i.e. unnests an entire nested data frame).

keep_remaining_nested_data

whether to keep any remaining parts of the partially unnested data (irrelevant if select = everything())

keep_other_list_data

keep other list data columns (e.g. other data or model columns)