powered by
Disaggregate metrics defined as aggregate function
disaggregate(metrics)
metrics defined by mmetrics::define()
disaggregated metrics (rlang::quosure or rlang::quosures)
# NOT RUN { metrics <- mmetrics::define( cost = sum(cost), ctr = sum(click)/sum(impression) ) mmetrics::disaggregate(metrics) # }
Run the code above in your browser using DataLab