gg_re {pammtools} | R Documentation |
Plot Normal QQ plots for random effects
Description
Plot Normal QQ plots for random effects
Usage
gg_re(x, ...)
Arguments
x |
a fitted |
... |
Further arguments passed to |
See Also
Examples
library(pammtools)
data("patient")
ped <- patient %>%
dplyr::slice(1:100) %>%
as_ped(Surv(Survdays, PatientDied)~ ApacheIIScore + CombinedicuID, id="CombinedID")
pam <- mgcv::gam(ped_status ~ s(tend) + ApacheIIScore + s(CombinedicuID, bs="re"),
data=ped, family=poisson(), offset=offset)
gg_re(pam)
plot(pam, select = 2)
[Package pammtools version 0.5.93 Index]