f_rkSupplies: Rank supplies according to revenue (or volume) within the...

Description Usage Arguments Value

Description

f_rkSupplies is used in data4plot.

Usage

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

Arguments

data

a dataframe with columns: fYear, SuppliesSplit, SuppliesPlot, 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 SuppliesSplit and fYear.


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