| ranef | R Documentation |
ranef() returns the predicted random intercepts (the conditional modes /
BLUPs) with their conditional standard errors, for a fit with a random
intercept on any of CTmax, log_z, low, or log_k
(<param> ~ <fixed> + (1 | group)). It errors for a fixed-effects-only fit.
Each BLUP is a deviation on its coordinate's internal scale: CTmax in degrees
C, log_z on log(z), low on logit(low), log_k on log(k). When several
REs are present the rows are stacked in CTmax, log_z, low, log_k order.
ranef(object, ...)
## S3 method for class 'profile_tls'
ranef(object, ...)
object |
A |
... |
Reserved; must be empty. |
A tibble with one row per group level (per RE term):
group, term ("CTmax", "log_z", "low", or "log_k"), estimate (the
BLUP), and std.error (the conditional SE).
d <- simulate_tls(family = "binomial", CTmax = 36, z = 4,
times = c(30, 60, 120, 240, 480), tref = 60,
re_sd = 1.5, n_re_groups = 12, seed = 42)
fit <- fit_tls(
tls_bf(survived | trials(total) ~ time(duration) + temp(temp),
CTmax ~ 1 + (1 | colony)),
data = d, family = "binomial", tref = 60)
ranef(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.