plot_constinfo: Plot Constant Information

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

View source: R/ares.r

Description

Plot constant information on the response scale

Usage

1
plot_constinfo(x, type = "deviance", new = TRUE, ...)

Arguments

x

a model fitted by fit_core

type

a quoted string indicating the type of residuals to extract. Default is "deviance". See get_residuals

new

if TRUE a new graph window is opened

...

further options for plot

Details

This function extracts the residuals of x and generates a plot of the residuals against 2 times the square root of the fitted values.

Value

This function does not resturn a value.

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.

Cook, R. D., Weisberg, S. (1982) Residuals and Influence in Regression. Chapman and Hall.

Atkinson, A.C. (1985) Plots, Transformations and Regression. Oxford University Press.

Pierce, D. A., Schafer, D. W. (1986) Residuals in generalized linear models. Journal of the American Statistical Association, 81(396),977–986.

See Also

fit_core,get_residuals

Examples

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

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