Slopechart function

Slope Chart

Slope Chart

ABC analysis improved slope chart

Slopechart(FirstDatavector, SecondDatavector, Names, Labels, MaxNumberOfSlices, TopLabels=c('FirstDatavector','SecondDatavector'), main='Comparision of Descending Frequency')

Arguments

  • FirstDatavector: [1:n] a vector of n non unique values - a features
  • SecondDatavector: [1:m] a vector of n non unique values - a second feature
  • Labels: Optional, [1:k] Labels if they are specially named, if not Names are used.
  • Names: [1:k] names to search for in Datavector, if not set unique of Datavector is calculated.
  • MaxNumberOfSlices: Default is k, integer value defining how many labels will be shown. Everything else will be summed up to Other.
  • TopLabels: Labels of of feature names
  • main: title of the plot

Details

still experimental.

Returns

silent output by calling invisible of a list with - Percentages: [1:k] percent values visualized in fanplot

  • Labels: [1:k] see input Labels, only relevant ones

References

[Gohil, 2015] Gohil, Atmajitsinh. R data Visualization cookbook. Packt Publishing Ltd, 2015.

Author(s)

Michael Thrun

See Also

Piechart, Fanplot

Examples

## will follow