powered by
saturation_hill is a two-parametric version of the Hill function that allows the saturation curve to flip between S and C shape.
saturation_hill
Produce example plots for the Hill saturation curve.
saturation_hill(x, alpha, gamma, x_marginal = NULL)plot_saturation(plot = TRUE)
plot_saturation(plot = TRUE)
Numeric values. Transformed values.
Numeric vector.
Numeric. Alpha controls the shape of the saturation curve. The larger the alpha, the more S-shape. The smaller, the more C-shape.
Numeric. Gamma controls the inflexion point of the saturation curve. The larger the gamma, the later the inflexion point occurs.
Numeric. When provided, the function returns the Hill-transformed value of the x_marginal input.
Boolean. Do you wish to return the plot?
Other Transformations: adstock_geometric(), mic_men()
adstock_geometric()
mic_men()
saturation_hill(c(100, 150, 170, 190, 200), alpha = 3, gamma = 0.5)
Run the code above in your browser using DataLab