[R-sig-Geo] More on hist() from raster package

Agustin Lobo alobolistas at gmail.com
Tue Feb 9 19:08:26 CET 2010


After trying with the linux version
(0.9.9.-12), I get a different behaviour than with the last windows version:
 > a <- hist(r, plot=F)
 > a
NULL

Also,

1. Considering r is a brick of 3 bands, how can I select a given band?
2. How can I change the 2x2 plot regions? I want a 1x3, and tried
setting par(mfrow=c(1,3)) before hist() but get the same 2x2
arrangement of the 3 histograms

Thanks for this powerful package!

Agus



More information about the R-sig-Geo mailing list