imp_seg: Segmentation of Market based on Profit

Description Usage Arguments Value

Description

This function is created to calculate the top market segments base on minumum covariance of the profit made on each segments

Usage

1
2
3
4
imp_seg(x = "Dataframe", c = "aggregate_column", d = "Date_col",
  m = "no of month to forecast",
  v = "Profit column for covariance calculation",
  n = "Top n profitable segments")

Arguments

x

it is the data frame to calculate the market segments

c

it is the column such as sales, quantity, profit etc which is required to aggregate based on date

d

it is the date column for time series

m

it is the no of months that needs to be seperated for validation purpose

v

it is the profit column or can be any column based on which covariance is to be calculated

n

it is the top n segments that is require for predicting sales and quantity for that segments

Value

this will return a list of top segments, the train and test time series


prk327/AtConP documentation built on May 26, 2019, 8:33 a.m.