CorrelationCoefficient: Calculate correlations between input markets.

View source: R/auxiliary.R

CorrelationCoefficientR Documentation

Calculate correlations between input markets.

Description

[Stable]

Calculate correlations between input markets

Usage

CorrelationCoefficient(data, locs = c())

Arguments

data

A data.frame containing the historical conversions by geographic unit. It requires a "locations" column with the geo name, a "Y" column with the outcome data (units), a time column with the indicator of the time period (starting at 1), and covariates.

locs

List of markets to use in the calculation of the correlations.

Value

Correlation coefficient.


facebookincubator/GeoLift documentation built on May 31, 2024, 10:09 a.m.