Creates a named vector mapping mgcv smooth labels to human-readable pffr labels. This is called during `pffr()` fitting and stored in `object$pffr$shortlabels`.
create_shortlabels(
label_map,
m_smooth,
yind_name,
where_specials,
family = NULL
)Named character vector: names are mgcv smooth labels, values are short labels.
Named list mapping original term names to mgcv smooth labels.
List of smooth objects from the fitted model.
Name of the y-index variable.
List indicating which terms are which type (par, ff, ffpc, etc.).
The model family object (used to detect location-scale families).