gg_re: Plot Normal QQ plots for random effects

Description Usage Arguments See Also Examples

Description

Plot Normal QQ plots for random effects

Usage

1
gg_re(x, ...)

Arguments

x

a fitted gam object as produced by gam().

...

Further arguments passed to plot.gam

See Also

tidy_re

Examples

1
2
3
4
5
6
data("lung", package="survival")
lung$inst <- as.factor(lung$inst) # for mgcv
ped <- split_data(Surv(time, status)~ph.ecog + inst, data=lung, id="id")
pam <- mgcv::gam(ped_status ~ s(tend) + ph.ecog + s(inst, bs="re"), 
	data=ped, family=poisson(), offset=offset)
gg_re(pam)

adibender/pam documentation built on May 10, 2019, 5:54 a.m.