tabular summary for gam object
produce a flextable describing a
generalized additive model produced by function mgcv::gam
.
## S3 method for class 'gam' as_flextable(x, ...)
x |
gam model |
... |
unused argument |
Other as_flextable methods:
as_flextable.glm()
,
as_flextable.grouped_data()
,
as_flextable.htest()
,
as_flextable.lm()
,
as_flextable.xtable()
,
as_flextable()
if (require("mgcv")) { set.seed(2) # Simulated data dat <- gamSim(1, n = 400, dist = "normal", scale = 2) # basic GAM model b <- gam(y ~ s(x0) + s(x1) + s(x2) + s(x3), data = dat) ft <- as_flextable(b) ft }
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.