Extract the thermal-sensitivity (z) estimate(s)
Usage
get_z(fit, conf.int = TRUE, conf.level = 0.95, method = c("wald", "profile"))Arguments
- fit
A
profile_tlsfit fromfit_tls().- conf.int
Logical; include confidence-interval columns (default
TRUE).- conf.level
Confidence level for the interval (default
0.95).- method
Either
"wald"(default) or"profile".
Value
A tibble of the z row(s) from
tidy_parameters().
Examples
d <- simulate_tls(family = "binomial", CTmax = 36, z = 4, seed = 1)
fit <- fit_tls(d, y = survived, n = total, time = duration, temp = temp,
family = "binomial", tref = 1)
get_z(fit)
#> # A tibble: 1 × 8
#> parameter group estimate std.error conf.low conf.high interval_type scale
#> <chr> <chr> <dbl> <dbl> <dbl> <dbl> <chr> <chr>
#> 1 z all 4.00 0.191 3.64 4.40 wald log