gg_fixed: Forrest plot of fixed coefficients

Description Usage Arguments See Also Examples

Description

Given a model object, returns a data frame with columns variable, coef (coefficient), ci_lower (lower 95% CI) and ci_upper (upper 95% CI).

Usage

1
gg_fixed(x, intercept = FALSE, ...)

Arguments

x

A model object.

intercept

Logical, indicating whether intercept term should be included. Defaults to FALSE.

...

Currently not used.

See Also

tidy_fixed

Examples

1
2
3
4
g <- mgcv::gam(Sepal.Length ~ Sepal.Width + Petal.Length + Petal.Width + Species,
 data=iris)
gg_fixed(g, intercept=TRUE)
gg_fixed(g)

adibender/mgcvtools documentation built on May 14, 2019, 7:55 p.m.