plotVintageData: Plot vintage data

Description Usage Arguments Examples

Description

This function plots results of GetVintageData function. All Slicers in results have to be included in plot definition.

Usage

1
2
plotVintageData(data = NULL, x = "distance", y = "event_weight_csum_pct",
  cond = NULL, facets = NULL)

Arguments

data

Result of GetVintageData function.

x

Data to be displayed on x axis. Default is distance.

y

Data to be displayed on y axis. Default is event_weight_csum_pct.

cond

Variable to be used for conditioning (in-chart group).

facets

Formulat to be used for facetting.

Examples

1
2
3
4
5
plotVintageData(vintageData, facets='product~region')
plotVintageData(vintageData, cond = 'origination_month', facets='product~region')
plotVintageData(vintageData, cond = 'origination_month', facets='region~product')
plotVintageData(vintageData, x = 'origination_month', cond = 'distance',
                facets='region~product')

tomasgreif/vintager documentation built on May 31, 2019, 5:16 p.m.