The title of the residual plots output from run_eggla_lmm() is fixed at "Cubic Splines (Random Linear Splines) - BMI - [sex]"; which I understand is the default model complexity for the parameter complexity. However, if running more complex random effects the title is no longer correct.
Could the model title be removed? perhaps just the sex should remain?
[lines 245-256]
p_model_residuals <- plot_residuals(
x = x_variable,
y = y_variable,
fit = results
) +
patchwork::plot_annotation(
title = sprintf(
"Cubic Splines (Random Linear Splines) - BMI - %s",
c("0" = "Male", "1" = "Female")[as.character(isex)]
),
tag_levels = "A"
)
[X] included a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
[X] documented the version of eggla you're running, by pasting the output from running packageVersion('eggla') in the "eggla version output" text area?
[X] documented which operating system you're running? If on Linux, please provide the specific distribution as well.
Bug description
The title of the residual plots output from
run_eggla_lmm()
is fixed at "Cubic Splines (Random Linear Splines) - BMI - [sex]"; which I understand is the default model complexity for the parametercomplexity
. However, if running more complex random effects the title is no longer correct. Could the model title be removed? perhaps just the sex should remain?[lines 245-256]
eggla
version outputeggla 0.18.5
Checklist
eggla
you're running, by pasting the output from runningpackageVersion('eggla')
in the "eggla
version output" text area?