extract_summary_linearEffects {APCtools}R Documentation

Internal helper to extract summary of linear effects in a gam model


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")



Model fitted with gam or bam.


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.

[Package APCtools version 1.0.4 Index]