[R] How do I change the colour and format for the trelli plot ?
ychu066
ychu066 at aucklanduni.ac.nz
Thu Nov 19 20:59:52 CET 2009
Fore example my code is
histogram(~data[,8]|data[,2], ylab = "Frequency", xlab = "Score", xlim =
c(1,5), ylim = c(0,100),layout = c(3,1),col=data[,2] )
and i want the colour to be depended on the level of the factor in data[,2].
how do i do that ?
ychu066 wrote:
>
> what is that ?
>
>
>
> Hrishi Mittal wrote:
>>
>> Add col=i in the histogram call.
>>
>
>
--
View this message in context: http://old.nabble.com/How-do-I-change-the-colour-and-format-for-the-trelli-plot---tp26418382p26421461.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list