Re: [R] specifying colors in a heatmap/image -like plot

2010-02-08 Thread kerimcan
David and Jim, thanks for your help. Your advice was exactly what I needed. I tinkled with the col argument before but I was trying to assign colors to numbers with a command like: col(1-green,2-blue) Usually I need to see an example before I can implement something correctly. Thanks

[R] specifying colors in a heatmap/image -like plot

2010-02-07 Thread kerimcan
Hi, I have searched for a solution but I failed to find an answer. I am hoping you may be able to help me. I have a data set where I have observations for a number of units (n =~40) over a period of time (t =~100) and I have a variable (Z) that codes a categorical variable for each