if (FALSE) {
# You may load an exported model to recreate Robyn objects
mod <- Robyn::robyn_recreate(json_file = "your_model.json")
robyn_marginal(
InputCollect = mod$InputCollect,
OutputCollect = mod$OutputCollect,
metric_name = "emails_O",
metric_value = 100000,
date_range = "all",
marginal_unit = 10000000)
}
Run the code above in your browser using DataLab