Dear R Users,


Greetings!



I am confused with an error message related to "plotrix" library in the
newer versions of R.

I used to run an R script without fail in the earlier versions (R 2.8.1) of
R; but the same script is now throwing up an error message in the newer
versions (Now I have R 2.13.0 & R 2.14.0).



Herewith I am furnishing the same code for your perusal. It would have been
better if somebody could look into this matter and explain in detail.



require(plotrix)



xy.pop <- c(17,15,13,11,9,8,6,5,4,3,2,2,1,3)

xx.pop <- c(17,14,12,11,11,8,6,5,4,3,2,2,2,3)

agelabels <- c("0-4","5-9","10-14","15-19","20-24","25-29","30-34",


"35-39","40-44","45-49","50-54","55-59","60-64","65+")



xycol<-color.gradient(c(0,0,0.5,0.15),c(0.25,0.5,0.5,1.75),c(0.5,1.5,1,0),18)

xxcol<-color.gradient(c(0,1,0.5,1),c(0.25,0.5,0.5,1.25),c(0.5,0.25,0.5,1.5),18)

par(mar=pyramid.plot(xy.pop,xx.pop,labels=agelabels, labelcex=1.125,

                main="Population Pyramid -- Malawi", xycol=xycol,
xxcol=xxcol))



Much Appreciated,

*Prasanth, V.P.*
Global Manager – Biometrics


Delta Technology & Management Services Pvt Ltd,
Plot No: 13/2, Sector - I,
Third Floor, HUDA Techno Enclave,
Madhapur, Hyderabad - 500 081.
(  : +91-40-3028 2113
È: +91-9848 290025

*  : vprasa...@deltaintech.com



******************************************************************************************

‘The information contained in this email is confidential and may contain
proprietary information. It is meant solely for the intended recipient.
Access to this email by anyone else is unauthorized. If you are not the
intended recipient, any disclosure, copying, distribution or any action
taken or omitted in reliance on this, is prohibited and may be unlawful. No
liability or responsibility is accepted if information or data is, for
whatever reason corrupted or does not reach its intended recipient. No
warranty is given that this email is free of viruses. The views expressed
in this email are, unless otherwise stated, those of the author and not
those of DELTA Technology and Management Services pvt ltd or its
management. DELTA Technology and Management Services pvt ltd reserves the
right to monitor intercept and block emails addressed to its users or take
any other action in accordance with its email use policy’

Thank you in advance for your cooperation.

******************************************************************************************

P Please don't print this e-mail unless you really need to.

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to