| get_shape | R Documentation |
Extract the shape parameters (low, up, k, and phi)
get_shape(
fit,
conf.int = TRUE,
conf.level = 0.95,
method = c("wald", "profile")
)
fit |
A |
conf.int |
Logical; include confidence-interval columns (default
|
conf.level |
Confidence level for the interval (default |
method |
Either |
With method = "profile", a shape parameter receives a profile
interval only where tidy_parameters() supports that coordinate; up and
unsupported shape coordinates retain their documented Wald route. For
continuous covariate designs, low, up, and k coefficients and Wald
limits are returned on their link scale. Constant and cell-mean shapes
remain on the response scale.
A tibble of the shape rows (low, up, k, and
phi for the beta-binomial family), including any covariate coefficients,
from tidy_parameters().
d <- simulate_tls(family = "binomial", times = c(30, 60, 120, 240, 480),
CTmax = 36, z = 4, tref = 60, seed = 1)
fit <- fit_tls(d, y = survived, n = total, time = duration, temp = temp,
family = "binomial", tref = 60)
get_shape(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.