Internal helper function to create a data.frame
containing the linear
effects summary of a model fitted with gam
or
bam
.
extract_summary_linearEffects(model, method_expTransform = "simple")
One of c("simple","delta")
, stating if
standard errors and confidence interval limits should be transformed by
a simple exp transformation or using the delta method. The delta method can
be unstable in situations and lead to negative confidence interval limits.
Only used when the model was estimated with a log or logit link.
If the model was estimated with a log or logit link, the function
automatically performs an exponential transformation of the effect,
see argument method_expTransform
.