Convenience function to visualize the residuals from calibrations generated by iso_generate_calibration
. Uses iso_plot_data internally and additional parameters (...
) can be passed to iso_plot_data.
iso_plot_calibration_parameters( dt, ..., x = calibration_model_name(), calibration = last_calibration(dt), select_from_summary = c(R2 = adj.r.squared, RSD = sigma), color = signif, panel = term ~ ., panel_scales = "free", points = TRUE )
dt | data frame to plot data from |
---|---|
... | additional ggplot objects (e.g. |
x | the column or expression for the x-axis aesthetic. Can be a numeric, text or datetime column (text and datetime column labels will be automatically rotated by 90 degrees). For clarity of the plot, only one x variable or expression is allowed. Use named vector with |
select_from_summary | which parameters from the fit summary to include, by default includes the adjusted R2 (renamed just |
color | variable to use for color aesthetic for the plot or constant value for the point and line color |
panel | whether to panel the data by anything. If using a single parameter (e.g. |
panel_scales | the |
points | whether to plot points (FALSE by default) |