[R] Basic Stars Plot - help ..

Uwe Ligges ligges at statistik.tu-dortmund.de
Wed Jan 12 16:45:02 CET 2011



On 12.01.2011 15:53, JP wrote:
> Hi there Rers
>
> I am trying a very basic stars plot:
>
> x<-matrix(c(1,4,3,1.1,2,3,4,3,1,1,5,2), ncol = 3, byrow = TRUE,
>>> dimnames=list(c("a","b","c","d"),c("x","y","z")))
>>
>> stars(x, draw.segments = TRUE, radius=TRUE)
>>
>>
> Can anyone explain what I am seeing there - EACH of my plots should have 3
> coloured sectors no ? - for x, y and z.  How come I am seeing only two
> sectors?  Also the length of the radii show the ratio compared to the other
> values of the columns (e.g. "x"), correct ? (And there is no direct
> relationship between the values of a single row, or is there?)
>
> I am using R 1.12.1 for Linux,

I guess you forgot the auto-scaling is done scaling the radii to [0,1] 
for the three columns of the matrix.

Uwe Ligges



> Many Thanks
> JP
>
> 	[[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.



More information about the R-help mailing list