Package index
-
fit_response() - Fit a response curve model using brms
-
hlpr_default_prior_for_scaled_data() - Helper function to set default priors for scaled data
-
hlpr_define_response_form() - Define a response form for a nonlinear model
-
hlpr_get_weekly_spend() - Get Weekly Spend helper function
-
hlpr_replace_variables_in_formula() - Replace Variables in a Formula
-
hlpr_scale_data() - Helper function to scale the data for model prep
-
hlpr_set_objective_function() - Create an objective function for optimization
-
hlpr_set_total_constraint() - Set a total constraint function
-
mrm_infer() - Infer response from a fitted model
-
mrm_params() - Extract parameters from a fitted model
-
mrm_params_table() - Create a formatted table of model parameters
-
mrm_plot_costper() - Plot the cost per KPI of a fitted model
-
mrm_plot_response() - Plot the response of a fitted model
-
mrm_plot_return() - Plot Marginal and Absolute Rates of Return for Multiple Resource Models
-
mrm_response_function() - Get the response function from a fitted model
-
mrm_returns_ranges() - Get Ranges of Maximum Marginal Returns and Average Returns This function computes the ranges of x values corresponding to the maximum marginal returns (MR) and average returns (AR) for a list of marginal response models (MRMs).
-
opt_generate_constraints() - Generate constraints for optimization based on MRM return rates or total spend This function generates constraints for optimization based on the return rates from the MRM models or a total spend constraint. The constraints include lower bounds, upper bounds, and initial values for each channel.
-
opt_mix() - Optimal Mix Function This function computes the optimal mix of channels to maximize the total response given a set of response functions and constraints.
-
plot_optimal_mix() - Plot Optimal Mix
-
response() - Response Curve Function
-
response_models_comparison() - Compare Response Curve Models
-
rm_Gompertz() - Gompertz Response Model
-
rm_GompertzRef() - Reflected Gompertz Response Model
-
rm_LogLogistic() - Log-logistic response model
-
rm_Logistic() - Logistic Response Model
-
rm_Weibull() - Weibull Response Model
-
rm_WeibullRef() - Reflected Weibull Response Model
-
rm_dispatch() - Dispatch Response Model