[R] Multiple Lorenz curves in one diagram

Ralf B ralf.bierig at gmail.com
Wed Sep 22 21:32:42 CEST 2010


Hi group,

I would like to draw multiple Lorenz curves in a single plot using
data already prepared. Here is a simple example:

require("lawstat")
lorenz.curve(c(1,2,3),c(4,5,4))
lorenz.curve(c(1,2,3),c(4,2,1))

This example draws two separate graphs. How can I combine them in a
distinguishable way? I tried ?polygon without success...

Ralf



More information about the R-help mailing list