ZipfPlot

0th

Percentile

Draw Zipf Plot

Draw Zipf Plot.

Keywords
stats
Usage
ZipfPlot(x, x0, plot.new=TRUE, fitted=TRUE,weights,...)
  ZPlot(x, plot.new=TRUE, ...)
Arguments
x

data: two vectors.

x0

low bound to filter data.

plot.new

whether draw a new plot.

weights

Compute weighted least squares line if weights is given.

fitted

Draw the fitted straight line.

...

plotting parameters.

Value

None

Aliases
  • ZipfPlot
  • ZPlot
Examples
# NOT RUN {
data(LCL)
names(LCL)
x <- LCL$p47
y <- LCL$p107
outx <- ZipfPlot(x)
plot(outx,type='l')
outy <- ZipfPlot(y)
lines(outy,col=2)

out2 <- Zipf.Normalize(x,y)
outy2 <- ZipfPlot(out2$y)
lines(outy2,col=4)

  
# }
Documentation reproduced from package bda, version 14.1.4, License: Unlimited

Community examples

Looks like there are no examples yet.