heuristic_models: Heuristic models for the online attribution problem.

Description Usage Arguments Value Author(s) Examples

Description

Estimate theree heuristic models (first-touch, last-touch, linear) from customer journey data.

Usage

1
heuristic_models(Data, var_path, var_conv, var_value=NULL, sep=">")

Arguments

Data

data.frame containing paths and conversions.

var_path

column name containing paths.

var_conv

column name containing total conversions.

var_value

column name containing total conversion value.

sep

separator between the channels.

Value

An object of class data.frame with the estimated number of conversions and the estimated conversion value attributed to each channel for each model.

Author(s)

Davide Altomare ([email protected]).

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 

library(ChannelAttribution)

data(PathData) 

heuristic_models(Data,"path","total_conversions")
heuristic_models(Data,"path","total_conversions",var_value="total_conversion_value")


## End(Not run)

ChannelAttribution documentation built on May 2, 2019, 12:40 p.m.