Description Usage Arguments Value
plot_3segAttrition uses f_basicAttrition.
grey dashed lines shows the half-life.
1 2 3 4  | plot_3segAttrition(SuppliesLevel4, attritionProfile, hwmodel2,
  segA_percent = c(0.1, 0.3), segA_begin = 24, segA_end = 48,
  segB_percent = c(0.7, 0.4), segB_begin = 36, segB_end = 120,
  segC_percent = c(0.2, 0.3), segC_begin = 60, segC_end = 240)
 | 
SuppliesLevel4 | 
 a string  | 
attritionProfile | 
 astrin TBC  | 
hwmodel2 | 
 a string TBC  | 
segA_percent | 
 a double, the share of the population in segment A.  | 
segA_begin | 
 an integer, month where decline starts for segment A.  | 
segA_end | 
 an integer, month where decline ends for segment A.  | 
segB_percent | 
 a double, the share of the population in segment B.  | 
segB_begin | 
 an integer, month where decline starts for segment B.  | 
segB_end | 
 an integer, month where decline ends for segment B.  | 
segC_percent | 
 a double, the share of the population in segment C.  | 
segC_begin | 
 an integer, month where decline starts for segment C.  | 
segC_end | 
 an integer, month where decline ends for segment C.  | 
a ggplot2 object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.