View source: R/transformation.R
saturation_hill | R Documentation |
saturation_hill
is a two-parametric version of the Hill
function that allows the saturation curve to flip between S and C shape.
Produce example plots for the Hill saturation curve.
saturation_hill(x, alpha, gamma, x_marginal = NULL)
plot_saturation(plot = TRUE)
x |
Numeric vector. |
alpha |
Numeric. Alpha controls the shape of the saturation curve. The larger the alpha, the more S-shape. The smaller, the more C-shape. |
gamma |
Numeric. Gamma controls the inflexion point of the saturation curve. The larger the gamma, the later the inflexion point occurs. |
x_marginal |
Numeric. When provided, the function returns the Hill-transformed value of the x_marginal input. |
plot |
Boolean. Do you wish to return the plot? |
Numeric values. Transformed values.
Other Transformations:
adstock_geometric()
,
mic_men()
saturation_hill(c(100, 150, 170, 190, 200), alpha = 3, gamma = 0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.