print_summary: Print Summary

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/ares.r

Description

Print model information

Usage

1
print_summary(x, digits = getOption("digits"), ...)

Arguments

x

a model fitted by fit_core

digits

an integer indicating the decimal places. If not supplied, it is taken from options

...

further options for summary.glm or summary.gam

Details

This function prints out both summary.glm and summary.glm outputs added of extra relevant information.

Value

The function invisibly returns a list with the following objects

summary.glm

summary information of the linear part of the model. See summary.glm

summary.gam

summary information of the non-linear part of the model. See summary.gam

dispersion

estimate of the dispersion parameter

pearson

estimate of the generalized Pearson's statistic

residuals.df

residuals degrees of freedom

deviance

estimate of the deviance

Author(s)

Washington Junger wjunger@ims.uerj.br and Antonio Ponce de Leon ponce@ims.uerj.br

References

McGullagh, P., Nelder, J. A. (1989) Generalized linear models. Chapman and Hall.

Hastie, T., Tibshirani, R. (1990) Generalized additive models. 2 ed. Chapman and Hall.

See Also

gam,glm,summary.gam,summary.glm

Examples

1
2
3
4
5
data(admrio)
setup(admrio,"date")
f <- resp5~s(time)+weekdays+s(tmpmax)+s(humid)
m <- fit_core(f)
print_summary(m)

wjunger/ares documentation built on Dec. 23, 2021, 5:17 p.m.