| make_tdt_formula | R Documentation |
Model-generic twin of make_4pl_formula(): the same construction with the
curve chosen by model. make_4pl_formula() is make_tdt_formula(model = "log-logistic") and keeps meaning the log-logistic.
make_tdt_formula(
model = "log-logistic",
random_effects = NULL,
bounds = NULL,
family = brms::beta_binomial(link = "identity"),
response_var = "survival",
temp_effects = c("low", "up", "k", "mid"),
ctmax = NULL,
z = NULL,
up = NULL,
low = NULL,
k = NULL,
mid = NULL,
by = NULL,
threshold = c("relative", "absolute"),
p = 0.5,
log10_tref = 0,
lower = 0,
upper = 1,
censored = FALSE
)
model |
Dose-response curve: |
random_effects |
Optional character vector of grouping variables for
random intercepts on |
bounds |
Length-2 numeric |
family |
brms family. Default |
response_var |
Response column name for a |
temp_effects |
Character vector naming which 4PL sub-parameters carry a
|
ctmax, z |
One-sided formulas for the direct parameterisation.
Supplying either switches |
up, low, k |
Optional one-sided formulas for the asymptote and
steepness sub-parameters. In direct mode, when
omitted they inherit the |
mid |
Midpoint mode only. Optional one-sided formula for
the midpoint sub-parameter (whose |
by |
Midpoint mode only. Optional character vector of
moderator column(s). A shortcut that fits |
threshold |
|
p |
Survival fraction defining the absolute threshold.
Default |
log10_tref |
|
lower, upper |
Response-scale bounds for the asymptotes. Default
|
censored |
Logical. |
A brmsformula object.
make_tdt_formula(model = "log-normal")
make_tdt_formula(model = "weibull1", ctmax = ~ 1, z = ~ 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.