| make_4pl_formula | R Documentation |
Translates the bayesTLS-style direct-mode arguments (ctmax, z, up,
low, k, by) into the engine's tls_bf() tls_formula object. Supplying
a ctmax and/or z formula is the direct parameterisation; by is shorthand
for fixed cell means of CTmax and z by one moderator (~ 0 + by); it does
not add random effects or modify the shape formulas.
make_4pl_formula(
ctmax = NULL,
z = NULL,
up = NULL,
low = NULL,
k = NULL,
by = NULL,
family = "beta_binomial"
)
ctmax, z, up, low, k |
One-sided formulas (or |
by |
Optional single, non-missing moderator column name. It is shorthand
for |
family |
|
Following the freqTLS constant-shape invariant, the asymptotes and steepness
(up, low, k) default to shared (~ 1) so the temperature effect runs
through the midpoint (CTmax / z) only; pass an explicit formula to let a shape
vary. ctmax and z must produce the same fixed-effect model-matrix columns.
Supported random intercepts go inside the ctmax/z/low/k formulas;
up random effects are not supported. For example,
ctmax = ~ 1 + (1 | batch) keeps the same intercept-only fixed design as the
default z = ~ 1 while adding a CTmax random intercept.
A tls_formula object (as built by tls_bf()).
fit_4pl(), tls_bf(), standardize_data()
make_4pl_formula()
make_4pl_formula(by = "population", family = "binomial")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.