search for: diaryofastatistician

Displaying 1 result from an estimated 1 matches for "diaryofastatistician".

2008 Jul 17
3
Histogram with two colors depending on condition
...hist(dat) How do i make the histogram, say, red (col = 2) before X = dat = 0, and rest say, green (col = 3) beyond X = dat = 0 in R? The resulting histogram could be like this http://ehsan.karim.googlepages.com/histogram.JPG (edited) Thanks in advance. Ehsan http://ehsan.karim.googlepages.com/diaryofastatistician