Hello all,

I am wondering how the
?stars
function might be changed so it will get another parameter
(petal.weight) that describes the "weight" for each petal of the flower
(star) plot.
The way this weight will effect is by reducing the angle of the petal by the
weights proportion.  So for example, in this plot:

stars(USJudgeRatings[1,1:4], locations = 0:1, scale=FALSE,
      draw.segments = TRUE, col.segments=0)

Each of the four petals has the angle of 90 degrees.

I would like to add a parameter like:
petal.weight = c(.5,1,.333,.5)
So now the new petals will have the angles:
45, 90,30,45
Centered around where the petals originally where drown.

Can anyone suggest on how to do this ?

Thanks,
Tal



----------------Contact
Details:-------------------------------------------------------
Contact me: tal.gal...@gmail.com |  972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com (English)
----------------------------------------------------------------------------------------------

        [[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