mic_men: Michaelis-Menten Transformation

View source: R/transformation.R

mic_menR Documentation

Michaelis-Menten Transformation

Description

The Michaelis-Menten mic_men() function is used to fit the spend exposure relationship for paid media variables, when exposure metrics like impressions, clicks or GRPs are provided in paid_media_vars instead of spend metric.

Usage

mic_men(x, Vmax, Km, reverse = FALSE)

Arguments

x

Numeric value or vector. Input media spend when reverse = FALSE. Input media exposure metrics (impression, clicks, GRPs, etc.) when reverse = TRUE.

Vmax

Numeric Indicates maximum rate achieved by the system.

Km

Numeric. The Michaelis constant.

reverse

Boolean. Input media spend when reverse = FALSE. Input media exposure metrics (impression, clicks, GRPs etc.) when reverse = TRUE.

Value

Numeric values. Transformed values.

See Also

Other Transformations: adstock_geometric(), saturation_hill()

Examples

mic_men(x = 5:10, Vmax = 5, Km = 0.5)

Robyn documentation built on June 27, 2024, 9:06 a.m.