Search code examples
rranknetwork-trafficfrequency-distribution

What is the command for Zipf (frequency against rank) plot in R


I have from a network traffic data, data volume (# of bytes) and # of flows over a week period for origin and destination IP pair. I want to plot distribution, i.e. frequency against rank. I believe that there is a function already provided by R for that. What is it and how to use that function for my scenario.


Solution

  • I found out that Zipf plot is just the log-log plot of the frequency of an entity (say 'flows') sorted in descending order.