Nests data set in preparation for calibration calculations. Use the group_by parameter to group analyses as appropriate for calibration. Use iso_unnest_data to easily pull out additional columns from the nested data frame in all_data at any point before, during or after calibration.

iso_prepare_for_calibration(dt, group_by = NULL,
  quiet = default(quiet))

Arguments

dt

data table

group_by

what to group by for indidual calibration calculations (use c(...) to select multiple) - set group_by = NULL to avoid grouping

quiet

whether to display (quiet=FALSE) or silence (quiet = TRUE) information messages.

Value

a nested data set with the group_by columns out front and the remaining data in a new nested column named all_data