alternate_decomp: Computes alternative and somewhat simpler version of the KPI...

View source: R/alternate_decomp.R

alternate_decompR Documentation

Computes alternative and somewhat simpler version of the KPI decomposition

Description

This function decomps a model in a very basic and intuitive manner: The coefficients are simply multiplied with the respective data column, and shares are computed on the sum of these columns. Negative effects are computed in the same step.

Usage

alternate_decomp(model = model1)

Arguments

model

Name of the model object that will be decomped. Defaults to model1.

Examples

alternate_decomp()

benetheking/maRketingscience documentation built on May 17, 2022, 5:57 a.m.