Patricia Costa
2013-Dec-10 00:19 UTC
[R] Multiple Lorenz curves in one diagram - populations with different "n"
Dear R users, I'm using the "ineq" package to calculate the values of Gini and Lorenz coefficients and to and plot Lorenz graph. I want to plot on the same diagram, curves from two different populations, that have different "n". How can I do this? Best regards, Patricia [[alternative HTML version deleted]]
Pascal Oettli
2013-Dec-10 02:42 UTC
[R] Multiple Lorenz curves in one diagram - populations with different "n"
Hello,
Please read:
library(fortune)
fortune('TFM')
Then:
?plot.Lc
HTH,
Pascal
On 10 December 2013 09:19, Patricia Costa <patcostabr at yahoo.com.br>
wrote:>
> Dear R users,
>
> I'm using the "ineq" package to calculate the values of Gini
and Lorenz coefficients and to and plot Lorenz graph.
>
> I want to plot on the same diagram, curves from two different populations,
that have different "n".
>
> How can I do this?
>
> Best regards,
>
> Patricia
> [[alternative HTML version deleted]]
>
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Pascal Oettli
Project Scientist
JAMSTEC
Yokohama, Japan
S Ellison
2013-Dec-10 13:33 UTC
[R] Multiple Lorenz curves in one diagram - populations with different "n"
>I want to plot on the same diagram, curves from two different populations, that have different "n". > >How can I do this?Use lines() as well as plot() S ******************************************************************* This email and any attachments are confidential. Any use...{{dropped:8}}