f_rkRegion: Rank Region according to revenue (or volume) within the...

Description Usage Arguments Value

Description

f_rkRegion is used in data4plot.

Usage

1
f_rkRegion(data, yearRef = 2017, rankBy = "Rev")

Arguments

data

a dataframe with columns: fDate, RegionSplit, Rev, Vol.

yearRef

an Integer representing the reference year.

rankBy

a string representing the measure on which the Region are ranked, "Rev" or "Vol".

Value

a dataframe with an ordered factor for column RegionSplit and column fYear.


FabienNicol/suppliesdash documentation built on May 6, 2019, 7:04 p.m.